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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",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.008436/0.008436, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001874/0.001875, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.272/2.272, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 59.91 kB / 0.9504 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7796, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001707/0.7814, allocations: 0.5827 MB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.952e-05/0.7814, allocations: 0 / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.7815, allocations: 1.031 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.7815, allocations: 3.938 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.639e-05/0.7815, allocations: 0 / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.068e-05/0.7816, allocations: 1 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.7816, allocations: 1.75 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.7817, allocations: 3.609 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.471e-05/0.7817, allocations: 5 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.541e-05/0.7817, allocations: 4.734 kB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.7817, allocations: 1.094 kB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.7817, allocations: 4 kB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.7817, allocations: 0 / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.7818, allocations: 4.969 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.05e-05/0.7818, allocations: 1.328 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7818, allocations: 0.6094 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7818, allocations: 0 / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.7818, allocations: 1.031 kB / 1.088 GB, free: 4.871 MB / 0.8575 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.0001845/0.782, allocations: 312.4 kB / 1.088 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7821, allocations: 9.5 kB / 1.088 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.199e-05/0.7821, allocations: 35.36 kB / 1.088 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.917e-05/0.7821, allocations: 1.812 kB / 1.088 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.311e-05/0.7822, allocations: 165.6 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.7822, allocations: 1.531 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-06/0.7822, allocations: 384 / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/0.7823, allocations: 32.73 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.7823, allocations: 3.938 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.7823, allocations: 1.938 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.7823, allocations: 0 / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.499e-05/0.7823, allocations: 0.9062 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.305e-05/0.7824, allocations: 148.8 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/0.7825, allocations: 20.61 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.7825, allocations: 8.688 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-06/0.7825, allocations: 3.938 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.7825, allocations: 32.97 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.7825, allocations: 0 / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 9.835e-05/0.7826, allocations: 38.42 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.7827, allocations: 53.12 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.684e-05/0.7827, allocations: 93.86 kB / 1.089 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.7827, allocations: 25.7 kB / 1.089 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.09e-05/0.7827, allocations: 81.88 kB / 1.089 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.7827, allocations: 0 / 1.089 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.7828, allocations: 11.64 kB / 1.089 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.7828, allocations: 316.9 kB / 1.089 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.7828, allocations: 5.25 kB / 1.089 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.7828, allocations: 5.469 kB / 1.089 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.7829, allocations: 10.89 kB / 1.089 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7829, allocations: 1.125 kB / 1.089 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.356e-05/0.7829, allocations: 31.69 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7829, allocations: 5.641 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.7829, allocations: 3.938 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.783, allocations: 1.156 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.783, allocations: 5.641 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.783, allocations: 1.609 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-06/0.783, allocations: 0 / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.783, allocations: 5.172 kB / 1.09 GB, free: 3.258 MB / 0.8575 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.132e-05/0.7831, allocations: 107.5 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.7831, allocations: 9.828 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.7831, allocations: 7.062 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.7831, allocations: 0 / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7831, allocations: 5.672 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.7831, allocations: 7.984 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.699e-05/0.7832, allocations: 148.9 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7832, allocations: 0.9688 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.7832, allocations: 1.625 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7832, allocations: 1.156 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.7832, allocations: 3.938 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7832, allocations: 0.6094 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7832, allocations: 0.9062 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.864e-05/0.7833, allocations: 60.97 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.7833, allocations: 84.58 kB / 1.09 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.7833, allocations: 5.125 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-06/0.7833, allocations: 0 / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.7834, allocations: 2.109 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.7834, allocations: 0 / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.176e-05/0.7834, allocations: 79.22 kB / 1.09 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7834, allocations: 0 / 1.09 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001955/0.7836, allocations: 1.281 kB / 1.09 GB, free: 2.672 MB / 0.8575 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.0002406/0.7838, allocations: 0.5982 MB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.08e-05/0.7839, allocations: 7.797 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7839, allocations: 0 / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.7839, allocations: 7.047 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.7841, allocations: 6.344 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.7844, allocations: 110.7 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.7846, allocations: 0.6713 MB / 1.091 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.142e-05/0.7846, allocations: 1.219 kB / 1.091 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.7846, allocations: 7.438 kB / 1.091 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.7846, allocations: 0 / 1.091 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.8, allocations: 0.9106 MB / 1.092 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/8.385, allocations: 9.125 kB / 1.092 GB, free: 16.9 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > 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