Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006623/0.006623, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 192.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 67.89 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6268, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001609/0.6284, allocations: 0.6671 MB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.6292, allocations: 0.7884 MB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.6293, allocations: 7.938 kB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.6293, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.6293, allocations: 3.938 kB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.6294, allocations: 3.984 kB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.6295, allocations: 23.94 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.6296, allocations: 11.97 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.6297, allocations: 4 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.6297, allocations: 15.92 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.6297, allocations: 4 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.6297, allocations: 4 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.6297, allocations: 4 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.6298, allocations: 7.938 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.136e-05/0.6298, allocations: 31.88 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6299, allocations: 0 / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6299, allocations: 0 / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.6299, allocations: 0 / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003897/0.6303, allocations: 331.2 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.6303, allocations: 16.03 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.6304, allocations: 38.69 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.89e-05/0.6304, allocations: 4.891 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.6305, allocations: 168.3 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.6305, allocations: 4.312 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-06/0.6305, allocations: 384 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.6307, allocations: 50.23 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6307, allocations: 3.938 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.6307, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.6307, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.6309, allocations: 39.95 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.6312, allocations: 245 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.6313, allocations: 46.42 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.654e-05/0.6314, allocations: 28.91 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.6314, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.6314, allocations: 30.56 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.6314, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003133/0.6318, allocations: 81.64 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.6318, allocations: 59.34 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.6319, allocations: 101.9 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.6319, allocations: 29.69 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.632, allocations: 88.09 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.632, allocations: 7.953 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.632, allocations: 9.719 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6321, allocations: 318.8 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.6322, allocations: 15.97 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.6323, allocations: 19.98 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.6324, allocations: 36.83 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6325, allocations: 3.938 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/0.6326, allocations: 69.59 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.6327, allocations: 4.094 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.6327, allocations: 4 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.6327, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.6328, allocations: 11.98 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.6328, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.6328, allocations: 4 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.6328, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.6329, allocations: 117.8 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.6329, allocations: 4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.6331, allocations: 68.78 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6332, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.6332, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.6332, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.6333, allocations: 169.5 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.6333, allocations: 3.984 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.6334, allocations: 7.938 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.6334, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.6334, allocations: 4.031 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6334, allocations: 4 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6334, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.6337, allocations: 167.4 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.6337, allocations: 81.09 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.6337, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.6338, allocations: 8.031 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.6338, allocations: 3.984 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.6339, allocations: 7.938 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.6339, allocations: 79.28 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6339, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001983/0.6341, allocations: 4 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005231/0.6346, allocations: 0.7012 MB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.6348, allocations: 35.95 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.6348, allocations: 0 / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.6349, allocations: 28.02 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.6352, allocations: 4 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.6355, allocations: 135.6 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.6358, allocations: 0.6768 MB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.6358, allocations: 3.906 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.6358, allocations: 11.44 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.6358, allocations: 64 / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6972/1.333, allocations: 1.291 MB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/10.8, allocations: 7.031 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches