Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_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.006532/0.006532, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001607/0.001608, allocations: 196.5 kB / 16.68 MB, free: 5.484 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.524/2.524, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 71.88 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 151.6 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001456/0.2407, allocations: 0.5937 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.129e-05/0.2408, allocations: 4 kB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.2408, allocations: 0 / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.2408, allocations: 0 / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.2408, allocations: 0 / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 2.747e-05/0.2409, allocations: 4 kB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.2409, allocations: 4 kB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.241, allocations: 0 / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.424e-05/0.241, allocations: 3.984 kB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.338e-05/0.241, allocations: 0 / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.241, allocations: 0 / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.696e-06/0.241, allocations: 0 / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.241, allocations: 0 / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.241, allocations: 7.938 kB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 4.363e-05/0.2411, allocations: 4 kB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2411, allocations: 0 / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2411, allocations: 4 kB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2411, allocations: 0 / 1.167 GB, free: 6.809 MB / 0.92 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.0002479/0.2414, allocations: 311.6 kB / 1.167 GB, free: 6.453 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2414, allocations: 8.031 kB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.2414, allocations: 34.69 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.35e-05/0.2415, allocations: 0.9375 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.013e-05/0.2416, allocations: 160.4 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.2416, allocations: 384 / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-06/0.2416, allocations: 4.375 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.732e-05/0.2416, allocations: 38.25 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2417, allocations: 3.938 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-06/0.2417, allocations: 0 / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.2417, allocations: 0 / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.2417, allocations: 4 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.2418, allocations: 141.7 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.332e-05/0.2419, allocations: 18.52 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.2419, allocations: 20.95 kB / 1.167 GB, free: 5.914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2419, allocations: 0 / 1.167 GB, free: 5.914 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2419, allocations: 34.55 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.2419, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 9.338e-05/0.242, allocations: 41.59 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2421, allocations: 55.34 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.813e-05/0.2421, allocations: 89.86 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2421, allocations: 25.83 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.2422, allocations: 84.14 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.2422, allocations: 7.875 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.2422, allocations: 22 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2423, allocations: 310.8 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.2424, allocations: 0 / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.2424, allocations: 3.984 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/0.2424, allocations: 8.859 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2424, allocations: 4.062 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.574e-05/0.2424, allocations: 37.64 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.2425, allocations: 8 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2425, allocations: 3.938 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.2425, allocations: 0 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.2425, allocations: 0 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.2425, allocations: 0 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-06/0.2425, allocations: 0 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.2425, allocations: 4 kB / 1.168 GB, free: 5.117 MB / 0.92 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.364e-05/0.2426, allocations: 109.9 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.2426, allocations: 3.984 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.2426, allocations: 7.062 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.2426, allocations: 0 / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2427, allocations: 0 / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2427, allocations: 4 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.467e-05/0.2427, allocations: 141.7 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.2428, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.2428, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2428, allocations: 3.984 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2428, allocations: 7.938 kB / 1.168 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.2428, allocations: 4 kB / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.2428, allocations: 0 / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.94e-05/0.2429, allocations: 57.08 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.2429, allocations: 77.11 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.2429, allocations: 3.938 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-06/0.2429, allocations: 8 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-06/0.2429, allocations: 4.016 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.2429, allocations: 4 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.243, allocations: 75.28 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.693e-06/0.243, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001573/0.2431, allocations: 7.938 kB / 1.169 GB, free: 4.512 MB / 0.92 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.0003167/0.2435, allocations: 0.5891 MB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.056e-05/0.2435, allocations: 11.92 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.2435, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.2435, allocations: 4 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.2437, allocations: 3.938 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.2439, allocations: 106.6 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2441, allocations: 0.669 MB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.779e-06/0.2441, allocations: 3.984 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.2442, allocations: 11.56 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.2442, allocations: 0 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8599/1.104, allocations: 0.8781 MB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.91, allocations: 3.938 kB / 1.171 GB, free: 2.203 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches