Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007784/0.0007784, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9305/0.9305, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.84/1.84, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.424e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001035/0.001049, allocations: 0.5885 MB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 3.974e-05/0.001089, allocations: 7.938 kB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.001105, allocations: 0 / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.001131, allocations: 0 / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.001137, allocations: 0 / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.179e-05/0.001168, allocations: 7.938 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.001216, allocations: 4 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.001257, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.001286, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.742e-05/0.001303, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.001319, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-06/0.001322, allocations: 4 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-06/0.001331, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.001347, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 4.692e-05/0.001393, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.001395, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.001396, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.001399, allocations: 4 kB / 1 GB, free: 12.92 MB / 0.9636 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.0001918/0.001591, allocations: 238.5 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.001627, allocations: 8.75 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.001652, allocations: 34.75 kB / 1 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.764e-05/0.00167, allocations: 0.9375 kB / 1 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.954e-05/0.001719, allocations: 101.8 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.001728, allocations: 384 / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-06/0.001733, allocations: 4.312 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.998e-05/0.001813, allocations: 42.17 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.00182, allocations: 192 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.001826, allocations: 4.375 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.001831, allocations: 4.125 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.001846, allocations: 4 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.996e-05/0.001936, allocations: 116.8 kB / 1.001 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.041e-05/0.001967, allocations: 14.58 kB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.001986, allocations: 8.953 kB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.001995, allocations: 3.938 kB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.002011, allocations: 38.56 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 4.41e-07/0.002012, allocations: 0 / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001001/0.002112, allocations: 41.69 kB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.002139, allocations: 55.34 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.203e-05/0.002161, allocations: 89.86 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.002169, allocations: 25.7 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.492e-05/0.002184, allocations: 80.14 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.002206, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.002228, allocations: 17.72 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.002293, allocations: 310.8 kB / 1.001 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.0023, allocations: 0 / 1.001 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.002306, allocations: 7.938 kB / 1.001 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.972e-05/0.002326, allocations: 9.047 kB / 1.001 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.002327, allocations: 3.938 kB / 1.001 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.071e-05/0.002358, allocations: 41.64 kB / 1.001 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.002369, allocations: 5.562 kB / 1.001 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.002373, allocations: 0 / 1.001 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.002383, allocations: 0 / 1.001 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.002433, allocations: 4 kB / 1.001 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.002437, allocations: 3.938 kB / 1.001 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-06/0.002444, allocations: 4 kB / 1.001 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.002449, allocations: 3.984 kB / 1.001 GB, free: 11.43 MB / 0.9636 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 4.41e-05/0.002493, allocations: 109.9 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-06/0.002496, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.002509, allocations: 6.938 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.00251, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.002515, allocations: 11.86 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.002517, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.727e-05/0.002564, allocations: 116.8 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-07/0.002564, allocations: 0 / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-06/0.002569, allocations: 4 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.00257, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.002576, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.002576, allocations: 4 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.002578, allocations: 3.938 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.91e-05/0.002617, allocations: 61.12 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-06/0.00262, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.002626, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-06/0.002631, allocations: 4 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.002642, allocations: 3.938 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.002643, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.019e-05/0.002663, allocations: 75.28 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.002663, allocations: 3.938 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001103/0.002774, allocations: 4.031 kB / 1.002 GB, free: 10.95 MB / 0.9636 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.0001864/0.00296, allocations: 0.5852 MB / 1.002 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.606e-05/0.003016, allocations: 4 kB / 1.002 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.003017, allocations: 0 / 1.002 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.003022, allocations: 7.938 kB / 1.002 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.246e-05/0.003114, allocations: 3.938 kB / 1.002 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.003332, allocations: 110.5 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.87e-05/0.003361, allocations: 55.52 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.003371, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.003391, allocations: 8.5 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.003391, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.01604, allocations: 1.527 MB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.568/6.584, allocations: 0 / 1.004 GB, free: 8.688 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.774761630222201]