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.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.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.001086/0.001086, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00121/0.00121, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.083/2.083, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5157, allocations: 140.4 MB / 0.9492 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001553/0.5173, allocations: 0.6446 MB / 0.9499 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.03e-05/0.5174, allocations: 5.594 kB / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.313e-05/0.5174, allocations: 0 / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.5174, allocations: 0 / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-06/0.5174, allocations: 5.344 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.235e-05/0.5175, allocations: 0 / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.646e-05/0.5175, allocations: 1.688 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.5176, allocations: 3.984 kB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.5176, allocations: 1.406 kB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.443e-05/0.5176, allocations: 3.938 kB / 0.9499 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.5176, allocations: 0 / 0.9499 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.587e-06/0.5176, allocations: 1.781 kB / 0.9499 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.138e-06/0.5176, allocations: 0 / 0.9499 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.5176, allocations: 4 kB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.886e-05/0.5177, allocations: 3.984 kB / 0.9499 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5177, allocations: 5.156 kB / 0.9499 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5177, allocations: 0 / 0.9499 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5177, allocations: 0 / 0.9499 GB, free: 8.57 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.0001659/0.5179, allocations: 306.1 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.5179, allocations: 10.16 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.927e-05/0.5179, allocations: 34.73 kB / 0.9502 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.613e-05/0.518, allocations: 6.312 kB / 0.9502 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.157e-05/0.518, allocations: 164.3 kB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.518, allocations: 384 / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-06/0.518, allocations: 5.781 kB / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.587e-05/0.5181, allocations: 31.95 kB / 0.9504 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.5181, allocations: 3.938 kB / 0.9504 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.5181, allocations: 3.938 kB / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5181, allocations: 1.344 kB / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.408e-05/0.5181, allocations: 0 / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.208e-05/0.5182, allocations: 147.1 kB / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.617e-05/0.5183, allocations: 21.23 kB / 0.9506 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.5183, allocations: 14.48 kB / 0.9506 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.5183, allocations: 1.625 kB / 0.9506 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/0.5183, allocations: 30.56 kB / 0.9506 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.5183, allocations: 0 / 0.9506 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.101e-05/0.5184, allocations: 35.45 kB / 0.9507 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.5184, allocations: 55.34 kB / 0.9507 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.211e-05/0.5184, allocations: 89.86 kB / 0.9508 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.5185, allocations: 29.83 kB / 0.9508 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-06/0.5185, allocations: 81.52 kB / 0.9509 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.5185, allocations: 11.89 kB / 0.9509 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.5185, allocations: 16.41 kB / 0.9509 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.331e-05/0.5186, allocations: 310.8 kB / 0.9512 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.5186, allocations: 1.25 kB / 0.9512 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.5186, allocations: 1.5 kB / 0.9512 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.859e-05/0.5186, allocations: 11.61 kB / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5186, allocations: 0 / 0.9513 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.371e-05/0.5186, allocations: 33.77 kB / 0.9513 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5187, allocations: 7.062 kB / 0.9513 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.5187, allocations: 3.938 kB / 0.9513 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5187, allocations: 5.203 kB / 0.9513 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.5187, allocations: 1.375 kB / 0.9513 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5187, allocations: 3.938 kB / 0.9513 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-06/0.5187, allocations: 1.375 kB / 0.9513 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.5188, allocations: 0 / 0.9513 GB, free: 6.938 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.555e-05/0.5188, allocations: 111.2 kB / 0.9514 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.5188, allocations: 1.375 kB / 0.9514 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.5188, allocations: 11.05 kB / 0.9514 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.5188, allocations: 0 / 0.9514 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5188, allocations: 0 / 0.9514 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.5188, allocations: 1.375 kB / 0.9514 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.171e-05/0.5189, allocations: 149.3 kB / 0.9516 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5189, allocations: 0 / 0.9516 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.5189, allocations: 1.375 kB / 0.9516 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.5189, allocations: 4 kB / 0.9516 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.5189, allocations: 9.312 kB / 0.9516 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.5189, allocations: 0 / 0.9516 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5189, allocations: 4 kB / 0.9516 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.942e-05/0.519, allocations: 58.56 kB / 0.9516 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.519, allocations: 78.48 kB / 0.9517 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.519, allocations: 3.938 kB / 0.9517 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.519, allocations: 5.344 kB / 0.9517 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-06/0.519, allocations: 7.938 kB / 0.9517 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.519, allocations: 5.375 kB / 0.9517 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.688e-06/0.519, allocations: 75.28 kB / 0.9518 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.519, allocations: 0 / 0.9518 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001593/0.5192, allocations: 1.375 kB / 0.9518 GB, free: 6.344 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.0001851/0.5194, allocations: 0.5922 MB / 0.9524 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.727e-05/0.5195, allocations: 8.062 kB / 0.9524 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5195, allocations: 0 / 0.9524 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.5195, allocations: 2.75 kB / 0.9524 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.5196, allocations: 1.375 kB / 0.9524 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.5198, allocations: 104.2 kB / 0.9525 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.246e-05/0.5199, allocations: 0.678 MB / 0.9532 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.072e-05/0.5199, allocations: 8 kB / 0.9532 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.52, allocations: 8.812 kB / 0.9532 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.52, allocations: 0 / 0.9532 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8126/1.333, allocations: 0.7816 MB / 0.9539 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/1.333, allocations: 192.9 kB / 0.9541 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.821, allocations: 0 / 0.9541 GB, free: 4.203 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