Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",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.000782/0.0007821, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005069/0.005069, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002822, allocations: 18.81 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2218, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002367/0.2242, allocations: 2.286 MB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2253, allocations: 0.8612 MB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2255, allocations: 11.94 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.2256, allocations: 47.64 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.2258, allocations: 51.59 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.2261, allocations: 218.6 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.2265, allocations: 403.7 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.2268, allocations: 213.1 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.2269, allocations: 91.39 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.227, allocations: 103.2 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.227, allocations: 8 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.227, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.2271, allocations: 47.67 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.2272, allocations: 160.7 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.2276, allocations: 0.5452 MB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2276, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2276, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2276, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006559/0.2282, allocations: 0.5806 MB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2283, allocations: 11.97 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.2283, allocations: 62.73 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.2284, allocations: 48.36 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.2288, allocations: 379.3 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2288, allocations: 24.94 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.2288, allocations: 28.38 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.2294, allocations: 333.5 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2294, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2294, allocations: 12 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2294, allocations: 8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.2299, allocations: 246.1 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2312, allocations: 1.178 MB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.2316, allocations: 246.8 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2318, allocations: 104.8 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2318, allocations: 3.938 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.2319, allocations: 38.5 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2319, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005993/0.2325, allocations: 319.8 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.2325, allocations: 85.11 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.2328, allocations: 336.4 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2328, allocations: 25.7 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.233, allocations: 196.1 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.233, allocations: 51.27 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.233, allocations: 33.64 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.2331, allocations: 334.8 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2333, allocations: 95.95 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.2335, allocations: 120.4 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.2339, allocations: 200.1 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2339, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004382/0.2343, allocations: 269.1 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.2344, allocations: 112.3 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2344, allocations: 3.938 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2344, allocations: 4 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2346, allocations: 31.92 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2346, allocations: 7.984 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.2347, allocations: 35.67 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2347, allocations: 4 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.2347, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002857/0.235, allocations: 178.1 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.2351, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.2351, allocations: 4 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2352, allocations: 23.98 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2352, allocations: 3.938 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2353, allocations: 31.72 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2353, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000148/0.2355, allocations: 245.1 kB / 1.07 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.2355, allocations: 27.62 kB / 1.07 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.2356, allocations: 35.28 kB / 1.07 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2356, allocations: 4 kB / 1.07 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2356, allocations: 0 / 1.07 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2356, allocations: 0 / 1.07 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.236, allocations: 409.3 kB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.236, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2361, allocations: 39.92 kB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2362, allocations: 0 / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2362, allocations: 7.984 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2362, allocations: 4 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2362, allocations: 3.938 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.2368, allocations: 454.9 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.2369, allocations: 132.8 kB / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.237, allocations: 4 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.2371, allocations: 16.05 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.2372, allocations: 15.92 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2372, allocations: 4 kB / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001965/0.2374, allocations: 235 kB / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2374, allocations: 0 / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003559/0.2378, allocations: 91.59 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008085/0.2386, allocations: 0.9919 MB / 1.072 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.2391, allocations: 295.7 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2391, allocations: 8.25 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2393, allocations: 99.91 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.2398, allocations: 73.31 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.2435, allocations: 3.09 MB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2437, allocations: 0.7755 MB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.2439, allocations: 30.27 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.244, allocations: 95.41 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.244, allocations: 4 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6482/0.8922, allocations: 6.167 MB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.8925, allocations: 219 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.606, allocations: 0 / 1.082 GB, free: 12.18 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches