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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001343/0.001343, allocations: 108 kB / 15.6 MB, free: 132 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.001397/0.001397, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.391 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 2.494/2.494, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5788, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.00174/0.5806, allocations: 0.5684 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.744e-05/0.5806, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.5806, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.5807, allocations: 3.938 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.253e-05/0.5807, allocations: 3.938 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.047e-05/0.5807, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.5808, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.5808, allocations: 7.984 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.5809, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.474e-05/0.5809, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.5809, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-06/0.5809, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.5809, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.5809, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.049e-05/0.581, allocations: 3.984 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.581, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.396e-06/0.581, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.581, allocations: 3.938 kB / 1.018 GB, free: 1.855 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.0002539/0.5813, allocations: 319.6 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5813, allocations: 8.031 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.5814, allocations: 34.75 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.802e-05/0.5814, allocations: 4.938 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.5815, allocations: 160.4 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.5815, allocations: 384 / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-06/0.5815, allocations: 384 / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.296e-05/0.5816, allocations: 26.27 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5816, allocations: 11.88 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.5816, allocations: 4 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5816, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.5816, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.5817, allocations: 153.6 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.5818, allocations: 18.61 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.5818, allocations: 4.859 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.5818, allocations: 3.984 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.5819, allocations: 42.62 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.5819, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.582, allocations: 41.48 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.582, allocations: 51.41 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.206e-05/0.5821, allocations: 93.84 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.5821, allocations: 25.7 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.5821, allocations: 80.14 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.5821, allocations: 4.125 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.5822, allocations: 13.72 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.5823, allocations: 314.8 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.5823, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.5823, allocations: 7.938 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.5823, allocations: 4.859 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5823, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.876e-05/0.5824, allocations: 37.73 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5824, allocations: 11.98 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5824, allocations: 3.938 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5824, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.5825, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5825, allocations: 4 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.5825, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.5825, allocations: 0 / 1.019 GB, free: 168 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 6.048e-05/0.5826, allocations: 109.8 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.5826, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.5826, allocations: 11.06 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5826, allocations: 4 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5826, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5826, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.336e-05/0.5827, allocations: 149.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5827, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.5827, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5828, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.5828, allocations: 3.938 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5828, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5828, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.877e-05/0.5828, allocations: 65.06 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.5829, allocations: 83.36 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.5829, allocations: 3.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-06/0.5829, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-06/0.5829, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.5829, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.583, allocations: 75.28 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.583, allocations: 4.031 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000175/0.5831, allocations: 4 kB / 1.02 GB, free: 15.56 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.000322/0.5835, allocations: 0.5968 MB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.5835, allocations: 12.03 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5835, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.5836, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.5837, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.584, allocations: 124.9 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.5842, allocations: 0.6728 MB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.006e-05/0.5842, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.5843, allocations: 7.438 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5843, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.6094, allocations: 0.8898 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.991, allocations: 7.891 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,staTim.y Variables in the result:staTim.y,time