Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001375/0.001375, allocations: 195 kB / 16.14 MB, free: 6.656 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.509/1.509, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 59.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.8208, allocations: 140.4 MB / 0.949 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001941/0.8228, allocations: 0.6388 MB / 0.9496 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.954e-05/0.8228, allocations: 1.375 kB / 0.9496 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.8229, allocations: 0 / 0.9496 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.8229, allocations: 0 / 0.9496 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.8229, allocations: 0 / 0.9496 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.622e-05/0.823, allocations: 1.375 kB / 0.9496 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.823, allocations: 5.359 kB / 0.9496 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.8231, allocations: 5.375 kB / 0.9496 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.8231, allocations: 0 / 0.9496 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.009e-05/0.8231, allocations: 4 kB / 0.9496 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.8231, allocations: 3.938 kB / 0.9496 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-06/0.8232, allocations: 1.375 kB / 0.9496 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.8232, allocations: 0 / 0.9496 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.8232, allocations: 0 / 0.9496 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.629e-05/0.8233, allocations: 1.375 kB / 0.9496 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8233, allocations: 3.938 kB / 0.9496 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8233, allocations: 1.375 kB / 0.9496 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.8233, allocations: 0 / 0.9496 GB, free: 8.863 MB / 0.7169 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.000244/0.8235, allocations: 314.3 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.8236, allocations: 9.625 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.8236, allocations: 0.9375 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.505e-05/0.8237, allocations: 164.3 kB / 0.9501 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.8237, allocations: 1.75 kB / 0.9501 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.8237, allocations: 384 / 0.9501 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/0.8238, allocations: 31.64 kB / 0.9501 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8238, allocations: 1.562 kB / 0.9501 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.8238, allocations: 7.922 kB / 0.9501 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8238, allocations: 4 kB / 0.9501 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.8239, allocations: 1.375 kB / 0.9501 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.824, allocations: 143.1 kB / 0.9503 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.824, allocations: 19.89 kB / 0.9503 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.8241, allocations: 11.61 kB / 0.9503 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.8241, allocations: 0 / 0.9503 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.8241, allocations: 35.94 kB / 0.9503 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.8241, allocations: 0 / 0.9503 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.8243, allocations: 47.05 kB / 0.9504 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.8243, allocations: 51.41 kB / 0.9504 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.916e-05/0.8243, allocations: 89.86 kB / 0.9505 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.8243, allocations: 31.02 kB / 0.9505 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.221e-05/0.8243, allocations: 80.14 kB / 0.9506 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.8244, allocations: 7.906 kB / 0.9506 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.8244, allocations: 16.59 kB / 0.9506 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.8245, allocations: 310.8 kB / 0.9509 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.8245, allocations: 1.375 kB / 0.9509 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-06/0.8245, allocations: 1.375 kB / 0.9509 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.132e-05/0.8245, allocations: 7.609 kB / 0.9509 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8245, allocations: 0 / 0.9509 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.158e-05/0.8246, allocations: 41.75 kB / 0.951 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.8246, allocations: 5.5 kB / 0.951 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8246, allocations: 4.094 kB / 0.951 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.8246, allocations: 5.312 kB / 0.951 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.8247, allocations: 5.375 kB / 0.951 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8247, allocations: 0 / 0.951 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.8247, allocations: 1.375 kB / 0.951 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.8247, allocations: 0 / 0.951 GB, free: 7.266 MB / 0.7169 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 4.801e-05/0.8248, allocations: 107.2 kB / 0.9511 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-06/0.8248, allocations: 0 / 0.9511 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.8248, allocations: 12.42 kB / 0.9511 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.8248, allocations: 4 kB / 0.9511 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8248, allocations: 0 / 0.9511 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8248, allocations: 1.375 kB / 0.9511 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.799e-05/0.8249, allocations: 145.7 kB / 0.9513 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.8249, allocations: 1.375 kB / 0.9513 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.8249, allocations: 5.312 kB / 0.9513 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.8249, allocations: 0 / 0.9513 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.8249, allocations: 5.312 kB / 0.9513 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.8249, allocations: 0 / 0.9513 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8249, allocations: 0 / 0.9513 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.348e-05/0.825, allocations: 62.56 kB / 0.9513 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.825, allocations: 78.48 kB / 0.9514 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.825, allocations: 3.938 kB / 0.9514 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.825, allocations: 1.375 kB / 0.9514 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.825, allocations: 4 kB / 0.9514 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.8251, allocations: 1.375 kB / 0.9514 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.8251, allocations: 79.22 kB / 0.9515 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8251, allocations: 4.031 kB / 0.9515 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002274/0.8253, allocations: 1.375 kB / 0.9515 GB, free: 6.68 MB / 0.7169 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.0001205/0.8254, allocations: 102.5 kB / 0.9516 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.057e-05/0.8255, allocations: 2.75 kB / 0.9516 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8255, allocations: 0 / 0.9516 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-06/0.8255, allocations: 6.688 kB / 0.9516 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.8257, allocations: 3.484 kB / 0.9516 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.8259, allocations: 83.7 kB / 0.9517 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.826, allocations: 0.6745 MB / 0.9523 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.158e-05/0.826, allocations: 0 / 0.9523 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.826, allocations: 8.812 kB / 0.9523 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.826, allocations: 0 / 0.9523 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Templates: time 0.001792/0.8278, allocations: 173.7 kB / 0.9525 GB, free: 5.676 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches