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: "" <> 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.0008549/0.0008549, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004975/0.004975, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.118/2.118, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5145, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.0005654/0.5151, allocations: 317.2 kB / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.094e-05/0.5152, allocations: 0 / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.043e-05/0.5152, allocations: 1.281 kB / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.07e-05/0.5152, allocations: 0 / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.228e-05/0.5152, allocations: 0 / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.493e-05/0.5153, allocations: 1.469 kB / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.83e-05/0.5153, allocations: 3.938 kB / 0.9555 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.5153, allocations: 1.344 kB / 0.9555 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.29e-05/0.5154, allocations: 5.406 kB / 0.9555 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.524e-05/0.5154, allocations: 4 kB / 0.9555 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.5154, allocations: 0 / 0.9555 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-06/0.5154, allocations: 4 kB / 0.9555 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.5154, allocations: 5.25 kB / 0.9555 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.5154, allocations: 25.7 kB / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.177e-05/0.5155, allocations: 1.156 kB / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5155, allocations: 0 / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5155, allocations: 0 / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.5155, allocations: 0 / 0.9555 GB, free: 7.395 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.000144/0.5157, allocations: 310 kB / 0.9558 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5157, allocations: 9.438 kB / 0.9559 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.01e-05/0.5157, allocations: 30.75 kB / 0.9559 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.652e-05/0.5158, allocations: 6.281 kB / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.842e-05/0.5158, allocations: 164.4 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.5158, allocations: 384 / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.5158, allocations: 5.828 kB / 0.9561 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.48e-05/0.5159, allocations: 35.44 kB / 0.9561 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5159, allocations: 7.875 kB / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.5159, allocations: 1.156 kB / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.5159, allocations: 0 / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.371e-05/0.5159, allocations: 1.281 kB / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.28e-05/0.516, allocations: 146.8 kB / 0.9562 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.781e-05/0.516, allocations: 20.05 kB / 0.9563 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.5161, allocations: 11.7 kB / 0.9563 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.5161, allocations: 0 / 0.9563 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.5161, allocations: 32 kB / 0.9563 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.5161, allocations: 0 / 0.9563 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 8.897e-05/0.5162, allocations: 45.84 kB / 0.9563 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.5162, allocations: 52.72 kB / 0.9564 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.253e-05/0.5162, allocations: 89.86 kB / 0.9565 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-06/0.5163, allocations: 25.7 kB / 0.9565 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-06/0.5163, allocations: 81.39 kB / 0.9566 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.5163, allocations: 7.906 kB / 0.9566 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.5163, allocations: 11.03 kB / 0.9566 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.5163, allocations: 310.8 kB / 0.9569 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-06/0.5164, allocations: 5.719 kB / 0.9569 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.5164, allocations: 0 / 0.9569 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.831e-05/0.5164, allocations: 12.2 kB / 0.9569 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5164, allocations: 0 / 0.9569 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.98e-05/0.5164, allocations: 43.19 kB / 0.957 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.5165, allocations: 4.344 kB / 0.957 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5165, allocations: 5.25 kB / 0.957 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.5165, allocations: 0 / 0.957 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.5165, allocations: 1.5 kB / 0.957 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.5165, allocations: 4.094 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.5165, allocations: 5.375 kB / 0.957 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.5166, allocations: 0 / 0.957 GB, free: 5.754 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.328e-05/0.5166, allocations: 107.2 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-06/0.5166, allocations: 1.344 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141e-05/0.5166, allocations: 7.062 kB / 0.9571 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5166, allocations: 3.984 kB / 0.9571 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.5166, allocations: 1.312 kB / 0.9571 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.5166, allocations: 0 / 0.9571 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.819e-05/0.5167, allocations: 147 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.5167, allocations: 0 / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-06/0.5167, allocations: 1.219 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5167, allocations: 5.344 kB / 0.9572 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.5167, allocations: 3.938 kB / 0.9572 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.5167, allocations: 3.938 kB / 0.9572 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5167, allocations: 1.594 kB / 0.9572 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.01e-05/0.5168, allocations: 58.03 kB / 0.9573 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.5168, allocations: 83.39 kB / 0.9574 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-06/0.5168, allocations: 5.094 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.5168, allocations: 0 / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-06/0.5168, allocations: 1.25 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.5168, allocations: 0 / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.267e-06/0.5168, allocations: 76.28 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5168, allocations: 0 / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000194/0.517, allocations: 1.312 kB / 0.9575 GB, free: 5.18 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.0001802/0.5172, allocations: 0.6051 MB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.338e-05/0.5173, allocations: 3.719 kB / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5173, allocations: 0 / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.5173, allocations: 6.328 kB / 0.9581 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.5174, allocations: 1.219 kB / 0.9581 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.5176, allocations: 119.3 kB / 0.9582 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.509e-05/0.5177, allocations: 0.6708 MB / 0.9588 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.666e-06/0.5177, allocations: 0 / 0.9588 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.5177, allocations: 7.438 kB / 0.9588 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5178, allocations: 1.094 kB / 0.9588 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.346/1.864, allocations: 0.7343 MB / 0.9596 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.864, allocations: 220 kB / 0.9598 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/3.309, allocations: 0 / 0.9598 GB, free: 3.152 MB / 0.7169 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) "" Variables in the reference:time,staTim.y Variables in the result:staTim.y,time