Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.Sources.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.01392/0.01392, allocations: 97.75 kB / 15.73 MB, free: 6.004 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.001674/0.001674, allocations: 192.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.675/2.675, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.911/4.911, allocations: 437.1 MB / 0.7106 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003161/0.003162, allocations: 67.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.655, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.003299/0.6584, allocations: 0.6075 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.6602, allocations: 0.8121 MB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.6603, allocations: 4 kB / 1.168 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.625e-05/0.6604, allocations: 3.938 kB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.6605, allocations: 0 / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.6607, allocations: 19.91 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.6608, allocations: 19.88 kB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.6609, allocations: 0 / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.661, allocations: 7.984 kB / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.6611, allocations: 11.94 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.6612, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.6612, allocations: 8 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.6612, allocations: 0 / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.6613, allocations: 11.97 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.6614, allocations: 11.92 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.6615, allocations: 0 / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6615, allocations: 0 / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.6615, allocations: 4 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002806/0.6643, allocations: 331.7 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.505e-05/0.6646, allocations: 8.031 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.017e-05/0.6647, allocations: 38.67 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.6647, allocations: 12.89 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.665, allocations: 160.4 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.665, allocations: 384 / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.665, allocations: 384 / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.6656, allocations: 42.25 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6656, allocations: 3.938 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.6657, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.6657, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.6658, allocations: 15.98 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.6661, allocations: 153.7 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.6663, allocations: 30.45 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.6664, allocations: 12.91 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.6664, allocations: 0 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.6664, allocations: 30.56 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.6665, allocations: 4 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003398/0.6668, allocations: 57.61 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.6669, allocations: 63.28 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.667, allocations: 97.86 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.6671, allocations: 25.7 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.6672, allocations: 80.14 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.6672, allocations: 11.95 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.6673, allocations: 17.83 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.6675, allocations: 310.8 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.6676, allocations: 4 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.6676, allocations: 16.23 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.6677, allocations: 16.84 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.6677, allocations: 4 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001607/0.6679, allocations: 49.75 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.668, allocations: 11.88 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.668, allocations: 0 / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.668, allocations: 4 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.6681, allocations: 3.984 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6681, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.6682, allocations: 4 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.6682, allocations: 0 / 1.169 GB, free: 4.012 MB / 0.92 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 (1): * Single equations (assignments): 1 * 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 0.0001359/0.6683, allocations: 105.8 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.6684, allocations: 11.97 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.6684, allocations: 7.125 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6684, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6684, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6684, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.6686, allocations: 153.7 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6687, allocations: 0 / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.6687, allocations: 4 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.6687, allocations: 3.938 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.6687, allocations: 3.938 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6688, allocations: 4 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6688, allocations: 0 / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.669, allocations: 85 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.6691, allocations: 77.11 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.6692, allocations: 3.938 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.6692, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.6693, allocations: 4 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.6693, allocations: 4.031 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.432e-05/0.6693, allocations: 83.27 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6694, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002891/0.6697, allocations: 4 kB / 1.17 GB, free: 3.371 MB / 0.92 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 (1): * Single equations (assignments): 1 * 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.001027/0.6707, allocations: 0.6163 MB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.6709, allocations: 19.92 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6709, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.671, allocations: 8 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.6713, allocations: 1.875 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.6719, allocations: 134.2 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.6724, allocations: 0.6846 MB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.776e-05/0.6724, allocations: 0 / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.6725, allocations: 7.438 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of SimCode: time 3.1e-07/0.6725, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.7257, allocations: 1.122 MB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.74, allocations: 8.594 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches