Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_10_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.001097/0.001097, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008853/0.008853, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003011, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.5458, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002682/0.5485, allocations: 2.277 MB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.5502, allocations: 0.8728 MB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003798/0.5506, allocations: 8 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.5508, allocations: 47.58 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.5512, allocations: 47.66 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.5518, allocations: 211.8 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.5523, allocations: 407.6 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.5527, allocations: 209.1 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.5528, allocations: 87.45 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.553, allocations: 107.2 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.553, allocations: 8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.469e-05/0.553, allocations: 8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.5531, allocations: 43.72 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.5532, allocations: 164.7 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.5536, allocations: 0.551 MB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5536, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5536, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.5536, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 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.0007566/0.5544, allocations: 0.5743 MB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.5544, allocations: 12.03 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.183e-05/0.5545, allocations: 66.72 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.5546, allocations: 40.47 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.555, allocations: 379.2 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.555, allocations: 20.94 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.5551, allocations: 28.38 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.5556, allocations: 333.5 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5557, allocations: 0 / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.5557, allocations: 16 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.5557, allocations: 4 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.5562, allocations: 250.1 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.5575, allocations: 1.178 MB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.558, allocations: 246.8 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.5582, allocations: 112.8 kB / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.5582, allocations: 0 / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.5582, allocations: 34.56 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 9.51e-07/0.5582, allocations: 0 / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006116/0.5589, allocations: 323.5 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.5589, allocations: 81.11 kB / 1.032 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.5592, allocations: 332.5 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.5592, allocations: 25.7 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5593, allocations: 200 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.5594, allocations: 55.19 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.5594, allocations: 29.7 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.5595, allocations: 338.8 kB / 1.033 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5597, allocations: 95.84 kB / 1.033 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.5599, allocations: 123.4 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.5603, allocations: 194.6 kB / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5603, allocations: 0 / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004293/0.5607, allocations: 270 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.5608, allocations: 107.9 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5608, allocations: 11.98 kB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.5608, allocations: 4 kB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.561, allocations: 35.95 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.561, allocations: 4 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.5611, allocations: 27.75 kB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5611, allocations: 4 kB / 1.033 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-06/0.5611, allocations: 4 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002784/0.5614, allocations: 182.2 kB / 1.034 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-06/0.5614, allocations: 0 / 1.034 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.5614, allocations: 4 kB / 1.034 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5616, allocations: 27.92 kB / 1.034 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5616, allocations: 4 kB / 1.034 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-05/0.5617, allocations: 23.75 kB / 1.034 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.5617, allocations: 4 kB / 1.034 GB, free: 4.812 MB / 0.7794 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.0001578/0.5618, allocations: 249.5 kB / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.5619, allocations: 31.62 kB / 1.034 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.562, allocations: 39.27 kB / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.562, allocations: 0 / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.562, allocations: 0 / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.562, allocations: 0 / 1.034 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.5624, allocations: 405.3 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5624, allocations: 0 / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.5625, allocations: 31.98 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5625, allocations: 4 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5626, allocations: 4 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5626, allocations: 0 / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5626, allocations: 3.938 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.5632, allocations: 459 kB / 1.035 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.5633, allocations: 136.6 kB / 1.035 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.5633, allocations: 7.984 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5635, allocations: 20 kB / 1.035 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.5635, allocations: 11.98 kB / 1.035 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.5635, allocations: 0 / 1.035 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001963/0.5637, allocations: 239 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5637, allocations: 0 / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000348/0.5641, allocations: 87.59 kB / 1.035 GB, free: 3.023 MB / 0.7794 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.0008098/0.5649, allocations: 0.9878 MB / 1.036 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005204/0.5654, allocations: 299.8 kB / 1.037 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5655, allocations: 256 / 1.037 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.5656, allocations: 107.9 kB / 1.037 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.5662, allocations: 71.8 kB / 1.037 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.5698, allocations: 3.093 MB / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.5701, allocations: 0.7755 MB / 1.04 GB, free: 13.56 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.5702, allocations: 30.27 kB / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.5704, allocations: 99.41 kB / 1.041 GB, free: 13.44 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.5704, allocations: 0 / 1.041 GB, free: 13.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.839/3.409, allocations: 6.178 MB / 1.047 GB, free: 7.43 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/3.41, allocations: 211 kB / 1.047 GB, free: 7.172 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/5.196, allocations: 0 / 1.047 GB, free: 7.172 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches