Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_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.004663/0.004663, allocations: 104 kB / 15.74 MB, free: 6.02 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.001057/0.001057, allocations: 189.2 kB / 16.67 MB, free: 5.938 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.59/2.59, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.89 kB / 1.064 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.7567, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001776/0.7585, allocations: 0.6614 MB / 1.22 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008372/0.7593, allocations: 0.7885 MB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.7594, allocations: 3.938 kB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.7594, allocations: 0 / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.7595, allocations: 3.938 kB / 1.221 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.7596, allocations: 11.98 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.7597, allocations: 23.92 kB / 1.221 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.7598, allocations: 8 kB / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.7599, allocations: 3.938 kB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.7599, allocations: 15.97 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.7599, allocations: 4 kB / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.7599, allocations: 0 / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.76, allocations: 4 kB / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.76, allocations: 11.92 kB / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.685e-05/0.7601, allocations: 27.91 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7601, allocations: 0 / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7601, allocations: 0 / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7601, allocations: 0 / 1.221 GB, free: 0.6641 MB / 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.0004041/0.7605, allocations: 343.1 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.7606, allocations: 8.625 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.7606, allocations: 30.75 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.7606, allocations: 4.891 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.7607, allocations: 168.3 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.7607, allocations: 8.312 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.7608, allocations: 384 / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.7609, allocations: 54.28 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.761, allocations: 3.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.761, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.761, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.7612, allocations: 35.91 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.7614, allocations: 244.9 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.7616, allocations: 46.47 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.7617, allocations: 24.91 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.7617, allocations: 3.984 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.7617, allocations: 30.56 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7617, allocations: 7.938 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.7621, allocations: 81.64 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.7621, allocations: 59.34 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.7622, allocations: 97.84 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.7622, allocations: 25.7 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.7623, allocations: 92.22 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.7623, allocations: 7.953 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.7623, allocations: 9.719 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.7624, allocations: 318.8 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.7625, allocations: 15.97 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.7626, allocations: 15.98 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.7627, allocations: 40.89 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7627, allocations: 3.938 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.7629, allocations: 69.59 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.763, allocations: 4 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.763, allocations: 0 / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.763, allocations: 0 / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.7631, allocations: 11.98 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.7631, allocations: 4.031 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.7632, allocations: 7.984 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.7632, allocations: 0 / 1.223 GB, free: 14.59 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 6.646e-05/0.7633, allocations: 118.3 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.7633, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.7635, allocations: 64.78 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7635, allocations: 4.031 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.7635, allocations: 3.938 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7635, allocations: 4.188 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.7637, allocations: 161.6 kB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.7637, allocations: 0 / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.7638, allocations: 11.92 kB / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.7638, allocations: 0 / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.7638, allocations: 4 kB / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.7638, allocations: 3.984 kB / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7638, allocations: 0 / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.764, allocations: 167.4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.7641, allocations: 81.09 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.7641, allocations: 3.938 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.7642, allocations: 8 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.7642, allocations: 7.984 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.7642, allocations: 4 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.7642, allocations: 79.31 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7642, allocations: 0 / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002135/0.7645, allocations: 4 kB / 1.224 GB, free: 13.77 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.0005215/0.765, allocations: 0.7007 MB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.7652, allocations: 35.95 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7652, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.7653, allocations: 23.92 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.7656, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.766, allocations: 143.7 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.7662, allocations: 0.6729 MB / 1.225 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.7662, allocations: 3.906 kB / 1.225 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.7663, allocations: 15.42 kB / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.7663, allocations: 0 / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.7835, allocations: 1.28 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.982, allocations: 10.81 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches