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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009049/0.0009051, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 8 kB / 0.8167 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7037, allocations: 142.4 MB / 0.9557 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.000695/0.7044, allocations: 310.5 kB / 0.956 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.687e-05/0.7045, allocations: 3.984 kB / 0.956 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.7045, allocations: 5.219 kB / 0.956 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.7045, allocations: 0 / 0.956 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.873e-05/0.7046, allocations: 0 / 0.956 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.23e-05/0.7046, allocations: 5.375 kB / 0.9561 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.7047, allocations: 1.031 kB / 0.9561 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.7047, allocations: 5.141 kB / 0.9561 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.7047, allocations: 0 / 0.9561 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.928e-05/0.7048, allocations: 4 kB / 0.9561 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.7048, allocations: 4.969 kB / 0.9561 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-06/0.7048, allocations: 0 / 0.9561 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.7048, allocations: 0 / 0.9561 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.7048, allocations: 26.77 kB / 0.9561 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.345e-05/0.7049, allocations: 1.281 kB / 0.9561 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7049, allocations: 0 / 0.9561 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7049, allocations: 0 / 0.9561 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.7049, allocations: 0 / 0.9561 GB, free: 7.383 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.0001796/0.7051, allocations: 309.9 kB / 0.9564 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7051, allocations: 12.47 kB / 0.9564 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.7052, allocations: 5.875 kB / 0.9564 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.435e-05/0.7052, allocations: 164.4 kB / 0.9566 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.7053, allocations: 1.438 kB / 0.9566 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.7053, allocations: 384 / 0.9566 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.7054, allocations: 32.45 kB / 0.9566 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.7054, allocations: 192 / 0.9566 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.7054, allocations: 3.938 kB / 0.9566 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.7054, allocations: 1.031 kB / 0.9566 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.69e-05/0.7054, allocations: 1.156 kB / 0.9566 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.986e-05/0.7055, allocations: 150.6 kB / 0.9567 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.936e-05/0.7055, allocations: 20.64 kB / 0.9568 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.7056, allocations: 7.078 kB / 0.9568 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.7056, allocations: 1.062 kB / 0.9568 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.7056, allocations: 35.69 kB / 0.9568 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.7056, allocations: 0 / 0.9568 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000104/0.7057, allocations: 41.72 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.7058, allocations: 52.62 kB / 0.9569 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.559e-05/0.7058, allocations: 89.86 kB / 0.957 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.7058, allocations: 29.7 kB / 0.957 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-06/0.7058, allocations: 81.2 kB / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.7059, allocations: 3.906 kB / 0.9571 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.7059, allocations: 14.78 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.7059, allocations: 310.8 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.7059, allocations: 5.281 kB / 0.9574 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.7059, allocations: 1 kB / 0.9574 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.706, allocations: 11.83 kB / 0.9574 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.706, allocations: 0 / 0.9574 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.54e-05/0.706, allocations: 35.11 kB / 0.9575 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.706, allocations: 9.328 kB / 0.9575 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7061, allocations: 0 / 0.9575 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.7061, allocations: 3.938 kB / 0.9575 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.7061, allocations: 5.938 kB / 0.9575 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7061, allocations: 0.9375 kB / 0.9575 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.7062, allocations: 0 / 0.9575 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.7062, allocations: 0.9688 kB / 0.9575 GB, free: 5.793 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 3.843e-05/0.7062, allocations: 106.8 kB / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.7062, allocations: 1.281 kB / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.7062, allocations: 7.062 kB / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7062, allocations: 3.984 kB / 0.9576 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.7063, allocations: 5.281 kB / 0.9576 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.7063, allocations: 4 kB / 0.9576 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.872e-05/0.7063, allocations: 151 kB / 0.9577 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7063, allocations: 7.875 kB / 0.9577 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-06/0.7063, allocations: 1.562 kB / 0.9578 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.7063, allocations: 0 / 0.9578 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.7063, allocations: 5.125 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.7064, allocations: 0 / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7064, allocations: 1.094 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.683e-05/0.7064, allocations: 58.59 kB / 0.9578 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.7064, allocations: 77.11 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.7064, allocations: 5.219 kB / 0.9579 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-06/0.7065, allocations: 0 / 0.9579 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.7065, allocations: 5 kB / 0.9579 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.7065, allocations: 1.219 kB / 0.9579 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.259e-05/0.7065, allocations: 75.28 kB / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7065, allocations: 0 / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/0.7067, allocations: 1.25 kB / 0.958 GB, free: 5.207 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.0001002/0.7068, allocations: 110.7 kB / 0.9581 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.337e-05/0.7069, allocations: 7.781 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7069, allocations: 0 / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-06/0.7069, allocations: 2.312 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.707, allocations: 3.125 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.7072, allocations: 111.2 kB / 0.9582 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.7073, allocations: 0.6705 MB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.7073, allocations: 11.44 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7074, allocations: 1.031 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.001377/0.7087, allocations: 325.2 kB / 0.9592 GB, free: 4.109 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/jenkins1/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