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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 109.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.88 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9081/0.9102, allocations: 160.7 MB / 1.213 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002923/0.9131, allocations: 0.5876 MB / 1.213 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 8.725e-05/0.9132, allocations: 4.906 kB / 1.213 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.9132, allocations: 0 / 1.213 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.106e-05/0.9133, allocations: 0 / 1.213 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.001e-05/0.9133, allocations: 1.094 kB / 1.213 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.665e-05/0.9134, allocations: 0 / 1.213 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.789e-05/0.9135, allocations: 9.078 kB / 1.213 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.9136, allocations: 0.9375 kB / 1.213 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.9136, allocations: 5.062 kB / 1.213 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.9136, allocations: 3.984 kB / 1.213 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.9136, allocations: 0 / 1.213 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.9137, allocations: 1.125 kB / 1.213 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.9137, allocations: 0 / 1.213 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.9137, allocations: 1.125 kB / 1.213 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.786e-05/0.9138, allocations: 4 kB / 1.213 GB, free: 3.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9138, allocations: 0 / 1.213 GB, free: 3.445 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9138, allocations: 5.062 kB / 1.213 GB, free: 3.441 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.9138, allocations: 4 kB / 1.213 GB, free: 3.438 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.0005189/0.9144, allocations: 308.7 kB / 1.214 GB, free: 3.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.353e-05/0.9144, allocations: 13.44 kB / 1.214 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.9145, allocations: 30.75 kB / 1.214 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.9145, allocations: 2.125 kB / 1.214 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.9147, allocations: 164.4 kB / 1.214 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.9148, allocations: 1.75 kB / 1.214 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.9148, allocations: 384 / 1.214 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.9149, allocations: 31.98 kB / 1.214 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.915, allocations: 3.938 kB / 1.214 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.915, allocations: 9.078 kB / 1.214 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.915, allocations: 0 / 1.214 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.915, allocations: 5.094 kB / 1.214 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.9153, allocations: 146.8 kB / 1.214 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.9154, allocations: 16.67 kB / 1.214 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.9154, allocations: 11.02 kB / 1.214 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.9154, allocations: 8 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.9155, allocations: 32.03 kB / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.9155, allocations: 0 / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000198/0.9157, allocations: 41.81 kB / 1.214 GB, free: 2.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.9157, allocations: 52.53 kB / 1.214 GB, free: 2.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.9158, allocations: 89.86 kB / 1.214 GB, free: 2.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.9158, allocations: 26.77 kB / 1.214 GB, free: 2.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.9159, allocations: 84.27 kB / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.9159, allocations: 0 / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.916, allocations: 19.95 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.9162, allocations: 311.9 kB / 1.215 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.9162, allocations: 0 / 1.215 GB, free: 1.867 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.9162, allocations: 2.312 kB / 1.215 GB, free: 1.867 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.9162, allocations: 6.922 kB / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9162, allocations: 0 / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.378e-05/0.9163, allocations: 43.52 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.9164, allocations: 4.344 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.9164, allocations: 5.188 kB / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.9164, allocations: 0 / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.9165, allocations: 5.141 kB / 1.215 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9165, allocations: 0.7812 kB / 1.215 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.9165, allocations: 0.75 kB / 1.215 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.9165, allocations: 7.984 kB / 1.215 GB, free: 1.801 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 0.0001101/0.9166, allocations: 111.6 kB / 1.215 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.9166, allocations: 1.125 kB / 1.215 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.9167, allocations: 7.062 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9167, allocations: 0 / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9167, allocations: 1.094 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9167, allocations: 3.938 kB / 1.215 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.9168, allocations: 146.7 kB / 1.215 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9168, allocations: 0 / 1.215 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.9168, allocations: 2.406 kB / 1.215 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.9168, allocations: 0 / 1.215 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.9169, allocations: 5.25 kB / 1.215 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9169, allocations: 4 kB / 1.215 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9169, allocations: 3.938 kB / 1.215 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.917, allocations: 59.17 kB / 1.215 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.9171, allocations: 81.09 kB / 1.215 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.9171, allocations: 4.688 kB / 1.215 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.9171, allocations: 0.7812 kB / 1.215 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.9171, allocations: 1.125 kB / 1.215 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.9171, allocations: 4.031 kB / 1.215 GB, free: 1.289 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.9171, allocations: 76.34 kB / 1.215 GB, free: 1.215 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.9171, allocations: 0 / 1.215 GB, free: 1.215 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002086/0.9174, allocations: 1.094 kB / 1.215 GB, free: 1.215 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.0005454/0.9179, allocations: 0.597 MB / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.918, allocations: 7.25 kB / 1.216 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.918, allocations: 0 / 1.216 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.683e-06/0.918, allocations: 1.875 kB / 1.216 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.9181, allocations: 3.031 kB / 1.216 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.9186, allocations: 112.8 kB / 1.216 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.9189, allocations: 0.6712 MB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.919, allocations: 3.984 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.919, allocations: 7.562 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.919, allocations: 5.156 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.9432, allocations: 0.8811 MB / 1.218 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.873, allocations: 14.41 kB / 1.218 GB, free: 15.19 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.816585591994226]