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.001058/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001046/0.001046, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.209/2.209, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6116/0.6128, allocations: 140.3 MB / 0.949 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001636/0.6145, allocations: 0.6524 MB / 0.9497 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.585e-05/0.6146, allocations: 0 / 0.9497 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.6146, allocations: 1.219 kB / 0.9497 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.6146, allocations: 7.938 kB / 0.9497 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.539e-06/0.6146, allocations: 0 / 0.9497 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.558e-05/0.6147, allocations: 0 / 0.9497 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.195e-05/0.6147, allocations: 5.094 kB / 0.9497 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.6148, allocations: 5.031 kB / 0.9497 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.6148, allocations: 1.312 kB / 0.9497 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.652e-05/0.6148, allocations: 3.984 kB / 0.9497 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.6148, allocations: 0 / 0.9497 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-06/0.6148, allocations: 1.5 kB / 0.9497 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.6148, allocations: 0 / 0.9497 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.6149, allocations: 0 / 0.9497 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.046e-05/0.6149, allocations: 5.5 kB / 0.9497 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6149, allocations: 0 / 0.9497 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6149, allocations: 0 / 0.9497 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.6149, allocations: 0 / 0.9497 GB, free: 8.582 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.0001908/0.6151, allocations: 314.3 kB / 0.95 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6152, allocations: 10.31 kB / 0.95 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.6152, allocations: 34.75 kB / 0.95 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.716e-05/0.6152, allocations: 4.875 kB / 0.95 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.003e-05/0.6153, allocations: 162.2 kB / 0.9502 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.6153, allocations: 384 / 0.9502 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.6153, allocations: 4.375 kB / 0.9502 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.637e-05/0.6154, allocations: 28.11 kB / 0.9502 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.6154, allocations: 7.922 kB / 0.9502 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.6154, allocations: 0 / 0.9502 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6154, allocations: 1.438 kB / 0.9502 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.581e-05/0.6154, allocations: 5.578 kB / 0.9502 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.813e-05/0.6155, allocations: 149.6 kB / 0.9504 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.943e-05/0.6155, allocations: 21.14 kB / 0.9504 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.6156, allocations: 11.58 kB / 0.9504 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.6156, allocations: 0 / 0.9504 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.6156, allocations: 31.81 kB / 0.9504 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.6156, allocations: 0 / 0.9504 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.339e-05/0.6157, allocations: 42.06 kB / 0.9505 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.6157, allocations: 56.88 kB / 0.9505 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.331e-05/0.6157, allocations: 89.98 kB / 0.9506 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.6158, allocations: 29.7 kB / 0.9507 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-06/0.6158, allocations: 80.14 kB / 0.9507 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.6158, allocations: 5.406 kB / 0.9507 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.6158, allocations: 11.19 kB / 0.9508 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.665e-05/0.6159, allocations: 310.8 kB / 0.951 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.6159, allocations: 1.531 kB / 0.951 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.6159, allocations: 5.531 kB / 0.9511 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.6159, allocations: 14.48 kB / 0.9511 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6159, allocations: 0 / 0.9511 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.613e-05/0.6159, allocations: 35.75 kB / 0.9511 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.616, allocations: 4.094 kB / 0.9511 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.616, allocations: 5.188 kB / 0.9511 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.616, allocations: 3.938 kB / 0.9511 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.536e-05/0.616, allocations: 1.438 kB / 0.9511 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.616, allocations: 1.062 kB / 0.9511 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-06/0.6161, allocations: 0 / 0.9511 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.6161, allocations: 1.375 kB / 0.9511 GB, free: 6.945 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.362e-05/0.6161, allocations: 111.4 kB / 0.9512 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-06/0.6161, allocations: 4 kB / 0.9512 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.26e-05/0.6161, allocations: 7.062 kB / 0.9512 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6161, allocations: 1.5 kB / 0.9512 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6161, allocations: 3.984 kB / 0.9512 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.6161, allocations: 0 / 0.9512 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.152e-05/0.6162, allocations: 145.3 kB / 0.9514 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.6162, allocations: 0 / 0.9514 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-06/0.6162, allocations: 1.5 kB / 0.9514 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6162, allocations: 5.312 kB / 0.9514 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.6162, allocations: 7.875 kB / 0.9514 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6162, allocations: 4 kB / 0.9514 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6162, allocations: 1.375 kB / 0.9514 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.119e-05/0.6163, allocations: 61.59 kB / 0.9515 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.6163, allocations: 78.61 kB / 0.9515 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.6163, allocations: 3.938 kB / 0.9515 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-06/0.6163, allocations: 5.656 kB / 0.9515 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-06/0.6163, allocations: 0 / 0.9515 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-06/0.6163, allocations: 0 / 0.9515 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.125e-05/0.6164, allocations: 76.66 kB / 0.9516 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6164, allocations: 0 / 0.9516 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000173/0.6165, allocations: 0 / 0.9516 GB, free: 6.359 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.6167, allocations: 0.5934 MB / 0.9522 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.699e-05/0.6168, allocations: 8.062 kB / 0.9522 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6168, allocations: 0 / 0.9522 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.6168, allocations: 1.375 kB / 0.9522 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.6169, allocations: 6.75 kB / 0.9522 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.6171, allocations: 101.9 kB / 0.9523 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.6172, allocations: 0.6785 MB / 0.953 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.137e-05/0.6173, allocations: 0 / 0.953 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.6173, allocations: 7.438 kB / 0.953 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6173, allocations: 5.312 kB / 0.953 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0087/0.626, allocations: 0.7454 MB / 0.9537 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/0.6262, allocations: 189.7 kB / 0.9539 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.159, allocations: 1.469 kB / 0.9539 GB, free: 4.227 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