Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",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.0008529/0.0008529, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004774/0.004774, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5365, allocations: 142.4 MB / 0.9552 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0005835/0.5371, allocations: 328.2 kB / 0.9555 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.321e-05/0.5372, allocations: 4.938 kB / 0.9555 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.5372, allocations: 0 / 0.9555 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.5372, allocations: 1.281 kB / 0.9555 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-06/0.5372, allocations: 0 / 0.9555 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.82e-05/0.5372, allocations: 4 kB / 0.9555 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.514e-05/0.5373, allocations: 1.25 kB / 0.9555 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.5373, allocations: 5.609 kB / 0.9555 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.5373, allocations: 0 / 0.9555 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.432e-05/0.5374, allocations: 0 / 0.9555 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.5374, allocations: 0 / 0.9555 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-06/0.5374, allocations: 5.312 kB / 0.9555 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.5374, allocations: 3.938 kB / 0.9555 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.5374, allocations: 25.7 kB / 0.9555 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.94e-05/0.5375, allocations: 0.9375 kB / 0.9555 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5375, allocations: 0 / 0.9555 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5375, allocations: 1.188 kB / 0.9555 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.5375, allocations: 0 / 0.9555 GB, free: 7.539 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.000147/0.5376, allocations: 309 kB / 0.9558 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5377, allocations: 9.25 kB / 0.9558 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.021e-05/0.5377, allocations: 34.73 kB / 0.9559 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.688e-05/0.5377, allocations: 5.969 kB / 0.9559 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.938e-05/0.5378, allocations: 160.4 kB / 0.956 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-06/0.5378, allocations: 1.781 kB / 0.956 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.5378, allocations: 384 / 0.956 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.257e-05/0.5379, allocations: 35.5 kB / 0.9561 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5379, allocations: 5.219 kB / 0.9561 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-06/0.5379, allocations: 0 / 0.9561 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5379, allocations: 3.938 kB / 0.9561 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.373e-05/0.5379, allocations: 1.375 kB / 0.9561 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.838e-05/0.538, allocations: 154.7 kB / 0.9562 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.458e-05/0.538, allocations: 17.3 kB / 0.9562 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.5381, allocations: 7.109 kB / 0.9562 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.5381, allocations: 0 / 0.9562 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.5381, allocations: 39.56 kB / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.5381, allocations: 0 / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.044e-05/0.5382, allocations: 42.83 kB / 0.9563 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.5382, allocations: 51.41 kB / 0.9564 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.227e-05/0.5382, allocations: 90.58 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-06/0.5382, allocations: 25.7 kB / 0.9565 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-06/0.5382, allocations: 89.19 kB / 0.9566 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.5383, allocations: 3.906 kB / 0.9566 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5383, allocations: 10.69 kB / 0.9566 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.5383, allocations: 310.8 kB / 0.9569 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.5383, allocations: 5.219 kB / 0.9569 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.5384, allocations: 1.125 kB / 0.9569 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.5384, allocations: 16.36 kB / 0.9569 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5384, allocations: 0 / 0.9569 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4e-05/0.5384, allocations: 30.86 kB / 0.9569 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.5384, allocations: 4.375 kB / 0.9569 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5385, allocations: 4.938 kB / 0.9569 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.5385, allocations: 0 / 0.9569 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.5385, allocations: 6.078 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.5385, allocations: 4.094 kB / 0.9569 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.5385, allocations: 0 / 0.9569 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.5386, allocations: 0.8438 kB / 0.9569 GB, free: 5.902 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.484e-05/0.5386, allocations: 107.8 kB / 0.957 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.5386, allocations: 0 / 0.957 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.5386, allocations: 12.03 kB / 0.9571 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5386, allocations: 0 / 0.9571 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5386, allocations: 5 kB / 0.9571 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.5386, allocations: 0 / 0.9571 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.877e-05/0.5387, allocations: 156.9 kB / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5387, allocations: 0 / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.5387, allocations: 2.094 kB / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5387, allocations: 0 / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.5387, allocations: 5 kB / 0.9572 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.5387, allocations: 0 / 0.9572 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5387, allocations: 0.9375 kB / 0.9572 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.356e-05/0.5388, allocations: 59.12 kB / 0.9573 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.5388, allocations: 85.08 kB / 0.9574 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.5388, allocations: 5.344 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-06/0.5388, allocations: 0 / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.5388, allocations: 0 / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.5388, allocations: 1.406 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.568e-06/0.5388, allocations: 75.28 kB / 0.9574 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5389, allocations: 3.938 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001947/0.5391, allocations: 1.344 kB / 0.9574 GB, free: 5.316 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.0001682/0.5392, allocations: 0.5964 MB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.425e-05/0.5393, allocations: 3.188 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5393, allocations: 1.094 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.5393, allocations: 5.219 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.5394, allocations: 3.328 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.5396, allocations: 110.1 kB / 0.9581 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.791e-05/0.5397, allocations: 0.6713 MB / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.989e-06/0.5397, allocations: 0 / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.5398, allocations: 8.656 kB / 0.9588 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of SimCode: time 4.7e-07/0.5398, allocations: 0 / 0.9588 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.5598, allocations: 0.6881 MB / 0.9595 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.56, allocations: 193.6 kB / 0.9597 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.089, allocations: 4 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,modTim.y Variables in the result:modTim.y,time