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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0007497/0.0007497, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000804/0.0008039, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003487, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7231, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002475/0.7256, allocations: 2.179 MB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.7269, allocations: 0.8405 MB / 0.9568 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.7271, allocations: 11.22 kB / 0.9568 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.7273, allocations: 42.42 kB / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.7274, allocations: 44.94 kB / 0.9569 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.7278, allocations: 141.6 kB / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.7281, allocations: 382.4 kB / 0.9574 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.7284, allocations: 142.7 kB / 0.9575 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.7285, allocations: 85.62 kB / 0.9576 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.7286, allocations: 103.6 kB / 0.9577 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.7286, allocations: 6.406 kB / 0.9577 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.7286, allocations: 6.938 kB / 0.9577 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.7287, allocations: 37.34 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.7287, allocations: 88.17 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.729, allocations: 499.7 kB / 0.9583 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.729, allocations: 0 / 0.9583 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.729, allocations: 0 / 0.9583 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7291, allocations: 1.375 kB / 0.9583 GB, free: 4.586 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.000691/0.7297, allocations: 0.5823 MB / 0.9589 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7298, allocations: 8.938 kB / 0.9589 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.7299, allocations: 59.33 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.7299, allocations: 47.55 kB / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.7303, allocations: 377 kB / 0.9594 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.7303, allocations: 19.34 kB / 0.9594 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.7303, allocations: 26.56 kB / 0.9594 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.7309, allocations: 332.2 kB / 0.9597 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.7309, allocations: 4 kB / 0.9597 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.7309, allocations: 13.83 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.7309, allocations: 7.719 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.7314, allocations: 245.6 kB / 0.96 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.7326, allocations: 1.172 MB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.733, allocations: 256.7 kB / 0.9614 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.7332, allocations: 98.55 kB / 0.9615 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.7333, allocations: 2 kB / 0.9615 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.7333, allocations: 40.53 kB / 0.9615 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.7333, allocations: 4 kB / 0.9615 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006261/0.7339, allocations: 313.7 kB / 0.9618 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.734, allocations: 83.2 kB / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.7343, allocations: 325.9 kB / 0.9622 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.7343, allocations: 29.7 kB / 0.9622 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.7344, allocations: 191.1 kB / 0.9624 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.7345, allocations: 53.42 kB / 0.9625 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.7345, allocations: 1 kB / 0.9625 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.7345, allocations: 345.8 kB / 0.9628 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.7347, allocations: 87.66 kB / 0.9629 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.7349, allocations: 125.8 kB / 0.963 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.7351, allocations: 100.5 kB / 0.9631 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7351, allocations: 1.031 kB / 0.9631 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004301/0.7355, allocations: 264.2 kB / 0.9633 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.7356, allocations: 106.4 kB / 0.9634 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.7356, allocations: 1.281 kB / 0.9634 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7356, allocations: 1.5 kB / 0.9634 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.7358, allocations: 39.38 kB / 0.9635 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.7358, allocations: 4.906 kB / 0.9635 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.7359, allocations: 32.78 kB / 0.9635 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.736, allocations: 7.922 kB / 0.9635 GB, free: 460 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.736, allocations: 3.656 kB / 0.9635 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00028/0.7363, allocations: 174.8 kB / 0.9637 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.7363, allocations: 1.719 kB / 0.9637 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.7363, allocations: 1.281 kB / 0.9637 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.7364, allocations: 30.2 kB / 0.9637 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.7364, allocations: 1.062 kB / 0.9637 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.7365, allocations: 19.28 kB / 0.9637 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.7365, allocations: 12.91 kB / 0.9638 GB, free: 344 kB / 0.7169 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.7367, allocations: 233.8 kB / 0.964 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.7367, allocations: 46.55 kB / 0.964 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.7368, allocations: 34.78 kB / 0.9641 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7368, allocations: 2.625 kB / 0.9641 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7368, allocations: 0 / 0.9641 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.7368, allocations: 0 / 0.9641 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.7373, allocations: 406.6 kB / 0.9644 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7373, allocations: 0 / 0.9644 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.7375, allocations: 29.98 kB / 0.9645 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.7375, allocations: 5.328 kB / 0.9645 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.7375, allocations: 5.094 kB / 0.9645 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7375, allocations: 4.844 kB / 0.9645 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7375, allocations: 1.031 kB / 0.9645 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.7382, allocations: 457.3 kB / 0.9649 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.7383, allocations: 123.2 kB / 0.965 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.7383, allocations: 7.938 kB / 0.9651 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.7385, allocations: 16.97 kB / 0.9651 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.7385, allocations: 11.36 kB / 0.9651 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.7386, allocations: 8.062 kB / 0.9651 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002348/0.7388, allocations: 229 kB / 0.9653 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7388, allocations: 3.938 kB / 0.9653 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004074/0.7392, allocations: 95.62 kB / 0.9654 GB, free: 15.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/0.7402, allocations: 0.9835 MB / 0.9664 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006039/0.7409, allocations: 293.7 kB / 0.9666 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.7409, allocations: 0 / 0.9666 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.7411, allocations: 107.9 kB / 0.9667 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.7417, allocations: 79.44 kB / 0.9668 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.7451, allocations: 1.801 MB / 0.9686 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.7455, allocations: 0.7718 MB / 0.9693 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000164/0.7457, allocations: 33.55 kB / 0.9694 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.7458, allocations: 99.45 kB / 0.9695 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/0.7459, allocations: 0.8438 kB / 0.9695 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.7638, allocations: 6.058 MB / 0.9754 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.764, allocations: 195 kB / 0.9756 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.471, allocations: 0 / 0.9756 GB, free: 8.934 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat does not exist to compare? outputFormat=mat