Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_9_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.0008995/0.0008994, allocations: 97.64 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.0009246/0.0009247, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5925, allocations: 142.4 MB / 0.9552 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.0027/0.5952, allocations: 2.273 MB / 0.9574 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.5966, allocations: 0.8592 MB / 0.9582 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.5969, allocations: 11.56 kB / 0.9582 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.5971, allocations: 51.7 kB / 0.9583 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.5972, allocations: 47.59 kB / 0.9583 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.5976, allocations: 217.5 kB / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.598, allocations: 412.9 kB / 0.9589 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.5982, allocations: 211.9 kB / 0.9591 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.5983, allocations: 93.62 kB / 0.9592 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.5984, allocations: 102.6 kB / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.5985, allocations: 6.875 kB / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.246e-05/0.5985, allocations: 6.875 kB / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.5985, allocations: 45.34 kB / 0.9594 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.5986, allocations: 156.2 kB / 0.9595 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.5989, allocations: 0.554 MB / 0.9601 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5989, allocations: 0 / 0.9601 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.599, allocations: 0 / 0.9601 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.599, allocations: 1.375 kB / 0.9601 GB, free: 3.898 MB / 0.7169 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.0006311/0.5996, allocations: 0.5715 MB / 0.9606 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5996, allocations: 8.75 kB / 0.9606 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.5997, allocations: 63.16 kB / 0.9607 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.5998, allocations: 44.78 kB / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.6001, allocations: 382.8 kB / 0.9611 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.6001, allocations: 23.38 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.6002, allocations: 26.03 kB / 0.9612 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.6007, allocations: 337.4 kB / 0.9615 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6007, allocations: 4.938 kB / 0.9615 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.6007, allocations: 14 kB / 0.9615 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6007, allocations: 7 kB / 0.9615 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.6012, allocations: 244.6 kB / 0.9617 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.6024, allocations: 1.176 MB / 0.9629 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.6029, allocations: 254.5 kB / 0.9631 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.6031, allocations: 107.2 kB / 0.9632 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.6031, allocations: 2.094 kB / 0.9632 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.6031, allocations: 40.38 kB / 0.9633 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.674e-06/0.6031, allocations: 3.984 kB / 0.9633 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006101/0.6037, allocations: 320 kB / 0.9636 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.6038, allocations: 83.45 kB / 0.9637 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.6041, allocations: 328.7 kB / 0.964 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.6041, allocations: 26.98 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.6042, allocations: 201.6 kB / 0.9642 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.6042, allocations: 54.7 kB / 0.9642 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.6043, allocations: 27.45 kB / 0.9643 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.6043, allocations: 337.3 kB / 0.9646 GB, free: 200 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.6045, allocations: 93.17 kB / 0.9647 GB, free: 152 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.6047, allocations: 127.2 kB / 0.9648 GB, free: 64 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.6051, allocations: 197.9 kB / 0.965 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6051, allocations: 0 / 0.965 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000483/0.6056, allocations: 267.2 kB / 0.9652 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.6056, allocations: 106.8 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6056, allocations: 8 kB / 0.9653 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6057, allocations: 1.938 kB / 0.9653 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.6058, allocations: 38.16 kB / 0.9654 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6059, allocations: 2.125 kB / 0.9654 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.606, allocations: 23.97 kB / 0.9654 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.606, allocations: 8 kB / 0.9654 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-06/0.606, allocations: 3.625 kB / 0.9654 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003112/0.6063, allocations: 186.2 kB / 0.9656 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-06/0.6064, allocations: 1.312 kB / 0.9656 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.6064, allocations: 1.344 kB / 0.9656 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.6065, allocations: 30.17 kB / 0.9656 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.6065, allocations: 1 kB / 0.9656 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.6066, allocations: 23.44 kB / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.6066, allocations: 4.969 kB / 0.9657 GB, free: 15.54 MB / 0.7325 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.0001881/0.6068, allocations: 249.8 kB / 0.9659 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.6069, allocations: 28.75 kB / 0.9659 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.607, allocations: 37.02 kB / 0.966 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.607, allocations: 3.75 kB / 0.966 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.607, allocations: 3.938 kB / 0.966 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.607, allocations: 0 / 0.966 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.6074, allocations: 408.6 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6074, allocations: 0 / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.6076, allocations: 35.23 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6076, allocations: 1.094 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.6076, allocations: 1.094 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6076, allocations: 0.9688 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6076, allocations: 0 / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.6083, allocations: 462.5 kB / 0.9668 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.6085, allocations: 130.3 kB / 0.967 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.6085, allocations: 9.891 kB / 0.967 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.6087, allocations: 13.62 kB / 0.967 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.6087, allocations: 12.11 kB / 0.967 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.6087, allocations: 7.938 kB / 0.967 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002351/0.609, allocations: 234.3 kB / 0.9672 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.609, allocations: 0 / 0.9672 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000407/0.6094, allocations: 92.44 kB / 0.9673 GB, free: 14.24 MB / 0.7325 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.001004/0.6104, allocations: 0.9874 MB / 0.9683 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006047/0.611, allocations: 294.7 kB / 0.9686 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.611, allocations: 4.25 kB / 0.9686 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.6112, allocations: 106.4 kB / 0.9687 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.6118, allocations: 79.08 kB / 0.9687 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.6162, allocations: 3.09 MB / 0.9718 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6165, allocations: 0.7762 MB / 0.9725 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00014/0.6167, allocations: 24.25 kB / 0.9725 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.6168, allocations: 100.5 kB / 0.9726 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.6168, allocations: 0 / 0.9726 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.6349, allocations: 6.17 MB / 0.9787 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.6351, allocations: 208 kB / 0.9789 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.36, allocations: 0 / 0.9789 GB, free: 6.648 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches