Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001657/0.001656, allocations: 192.2 kB / 16.14 MB, free: 6.629 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.652/1.652, allocations: 222.9 MB / 239.8 MB, free: 4.602 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 3.051/3.051, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.8146, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.00283/0.8175, allocations: 0.6485 MB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.081e-05/0.8176, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.904e-05/0.8176, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.8177, allocations: 3.984 kB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.8177, allocations: 3.938 kB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.115e-05/0.8178, allocations: 0 / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.8179, allocations: 0 / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.8179, allocations: 7.938 kB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.77e-05/0.818, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.818, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.818, allocations: 4 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-06/0.818, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.8181, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.8181, allocations: 3.984 kB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.053e-05/0.8182, allocations: 8 kB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.8182, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8182, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8182, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 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.0004498/0.8187, allocations: 313.8 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.8187, allocations: 8.031 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.8188, allocations: 8.844 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.819, allocations: 160.4 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.819, allocations: 4.312 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.819, allocations: 384 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.8191, allocations: 30.27 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.8192, allocations: 192 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8192, allocations: 7.875 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8192, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.8192, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.8195, allocations: 153.7 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.8195, allocations: 18.52 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.8196, allocations: 8.953 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.8196, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.8197, allocations: 34.56 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.8197, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001933/0.8199, allocations: 41.62 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.8199, allocations: 55.41 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/0.82, allocations: 89.86 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.82, allocations: 25.7 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.8201, allocations: 80.14 kB / 1.018 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.8202, allocations: 0 / 1.018 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.8202, allocations: 13.72 kB / 1.018 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.8204, allocations: 314.8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.8205, allocations: 8.062 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.8205, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.8205, allocations: 8.859 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8205, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.41e-05/0.8206, allocations: 37.69 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8207, allocations: 4 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8207, allocations: 3.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.8207, allocations: 7.938 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.8208, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.8208, allocations: 4.094 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.8209, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.8209, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 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.821, allocations: 110.6 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.8211, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.8211, allocations: 7.062 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8211, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8211, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8211, allocations: 7.984 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.8213, allocations: 149.7 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8213, allocations: 3.938 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.8213, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8214, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.8214, allocations: 3.938 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8214, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8214, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.91e-05/0.8215, allocations: 61.12 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.8216, allocations: 81.14 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.8216, allocations: 3.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.8217, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.8217, allocations: 7.938 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.8217, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.8218, allocations: 75.28 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8218, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003119/0.8221, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 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.0001726/0.8223, allocations: 111.2 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.291e-05/0.8224, allocations: 4 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8224, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.8224, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.8226, allocations: 8.359 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.8229, allocations: 87.22 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.8233, allocations: 0.6847 MB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.8234, allocations: 128 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.8234, allocations: 11.44 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8234, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.00274/0.8262, allocations: 164.9 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches