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.001436/0.001435, allocations: 100.1 kB / 15.88 MB, free: 12 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.001721/0.001721, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.307/2.307, allocations: 390.3 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6136/0.615, allocations: 140.3 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001721/0.6168, allocations: 0.6439 MB / 0.9502 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.719e-05/0.6168, allocations: 4 kB / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.6169, allocations: 1.438 kB / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.6169, allocations: 0 / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.6169, allocations: 0 / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.078e-05/0.617, allocations: 0 / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.296e-05/0.617, allocations: 1.688 kB / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.6171, allocations: 1.375 kB / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.6171, allocations: 0 / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.879e-05/0.6171, allocations: 13 kB / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.6172, allocations: 4 kB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-06/0.6172, allocations: 0 / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.6172, allocations: 1.312 kB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.6172, allocations: 0 / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.311e-05/0.6173, allocations: 5.312 kB / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6173, allocations: 0 / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6173, allocations: 0 / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.6173, allocations: 0 / 0.9503 GB, free: 8.629 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.0002081/0.6175, allocations: 311.5 kB / 0.9506 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6176, allocations: 9.781 kB / 0.9506 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.6176, allocations: 4.938 kB / 0.9506 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.279e-05/0.6177, allocations: 169.4 kB / 0.9507 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.6177, allocations: 384 / 0.9508 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.6177, allocations: 1.906 kB / 0.9508 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.792e-05/0.6178, allocations: 27.92 kB / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6178, allocations: 192 / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.6178, allocations: 3.938 kB / 0.9508 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.6178, allocations: 3.984 kB / 0.9508 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.6178, allocations: 1.438 kB / 0.9508 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.419e-05/0.6179, allocations: 154.8 kB / 0.9509 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.368e-05/0.618, allocations: 21.08 kB / 0.951 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.618, allocations: 6.984 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.618, allocations: 1.406 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.618, allocations: 34.56 kB / 0.951 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.618, allocations: 0 / 0.951 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.6181, allocations: 39.3 kB / 0.951 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.6182, allocations: 51.41 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.935e-05/0.6182, allocations: 89.86 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-06/0.6182, allocations: 27.48 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.336e-05/0.6182, allocations: 84.08 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.6182, allocations: 7.844 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.6183, allocations: 18.83 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.6183, allocations: 312.1 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.6184, allocations: 5.375 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.6184, allocations: 1.594 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.6184, allocations: 6.953 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6184, allocations: 0 / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.086e-05/0.6184, allocations: 30.67 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6185, allocations: 5.625 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6185, allocations: 4 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6185, allocations: 5.438 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.6185, allocations: 5.234 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6186, allocations: 8.031 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.6186, allocations: 4 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.6186, allocations: 1.25 kB / 0.9517 GB, free: 7.027 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.244e-05/0.6186, allocations: 107.3 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-06/0.6186, allocations: 0 / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.465e-05/0.6187, allocations: 7.062 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.6187, allocations: 1.469 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6187, allocations: 0 / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6187, allocations: 3.938 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.915e-05/0.6187, allocations: 151.1 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6187, allocations: 0 / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.657e-06/0.6187, allocations: 1.625 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6187, allocations: 1.312 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.6188, allocations: 3.938 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.6188, allocations: 0 / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6188, allocations: 1.531 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.264e-05/0.6188, allocations: 57.7 kB / 0.952 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.6188, allocations: 82.5 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.6189, allocations: 7.875 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.6189, allocations: 1.312 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.6189, allocations: 0 / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.6189, allocations: 1.156 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.464e-05/0.6189, allocations: 75.28 kB / 0.9522 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6189, allocations: 3.938 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002072/0.6191, allocations: 1.188 kB / 0.9522 GB, free: 6.449 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.0001091/0.6192, allocations: 102.3 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.815e-05/0.6193, allocations: 8.469 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6193, allocations: 0 / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.6193, allocations: 1.594 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.6195, allocations: 9.312 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.6197, allocations: 109.2 kB / 0.9524 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.193e-05/0.6198, allocations: 0.6705 MB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.6198, allocations: 11.56 kB / 0.953 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6198, allocations: 1.406 kB / 0.953 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.001406/0.6212, allocations: 322 kB / 0.9534 GB, free: 5.359 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