Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_10_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.007969/0.007969, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001961/0.001961, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8551, allocations: 151.6 MB / 1.166 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001863/0.857, allocations: 0.6692 MB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.8579, allocations: 0.7923 MB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.858, allocations: 0 / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.858, allocations: 3.938 kB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.8581, allocations: 4 kB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.8583, allocations: 19.91 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.8583, allocations: 16 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.8584, allocations: 11.98 kB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.8585, allocations: 7.938 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.8585, allocations: 15.92 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.8586, allocations: 0 / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.8586, allocations: 4 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.8586, allocations: 4 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.8586, allocations: 7.938 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.452e-05/0.8587, allocations: 27.89 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8587, allocations: 7.984 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8587, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.8587, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 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.0003977/0.8591, allocations: 337.7 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8592, allocations: 12.92 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.8592, allocations: 30.75 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.8592, allocations: 0.9375 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.8594, allocations: 160.4 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.8594, allocations: 4.375 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.8594, allocations: 4.375 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.8596, allocations: 54.17 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.8596, allocations: 3.938 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.8596, allocations: 0 / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8596, allocations: 3.938 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.8598, allocations: 35.95 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.8601, allocations: 245 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.8602, allocations: 38.5 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.121e-05/0.8603, allocations: 24.89 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.8603, allocations: 3.938 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.8604, allocations: 34.56 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8604, allocations: 4 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003186/0.8607, allocations: 81.55 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.8607, allocations: 59.41 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.8608, allocations: 97.8 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.8608, allocations: 29.7 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.8609, allocations: 90.5 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.8609, allocations: 8.031 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.8609, allocations: 13.72 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.861, allocations: 314.8 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.8611, allocations: 15.98 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.8612, allocations: 23.91 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.8613, allocations: 40.89 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8613, allocations: 3.938 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.8615, allocations: 61.66 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8615, allocations: 8 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.8615, allocations: 0 / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8616, allocations: 0 / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.8616, allocations: 7.984 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.8617, allocations: 4 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.8617, allocations: 4.031 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.8617, allocations: 4 kB / 1.17 GB, free: 172 kB / 0.8887 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 6.258e-05/0.8618, allocations: 117.7 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.8618, allocations: 3.984 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.862, allocations: 68.78 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8621, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8621, allocations: 4.219 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8621, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.8622, allocations: 161.6 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8622, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.8623, allocations: 11.98 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8623, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.8623, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8623, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8623, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.8625, allocations: 175.3 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.8626, allocations: 81.05 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.8626, allocations: 4 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.8627, allocations: 7.984 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.8627, allocations: 4 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.8627, allocations: 3.938 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.8628, allocations: 87.3 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8628, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002142/0.863, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 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.0004718/0.8635, allocations: 0.7007 MB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.8637, allocations: 35.95 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8637, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.8637, allocations: 19.98 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.8641, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.8645, allocations: 143.6 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.8647, allocations: 0.6845 MB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.8647, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.8648, allocations: 11.44 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8648, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.8812, allocations: 1.273 MB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/8.426, allocations: 2.156 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches