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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.0007868/0.0007868, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0008848/0.0008849, allocations: 172.7 kB / 15.95 MB, free: 208 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.287/1.287, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.395/2.395, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5504, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002578/0.553, allocations: 2.175 MB / 0.9833 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.5542, allocations: 0.8498 MB / 0.9841 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.5544, allocations: 11.94 kB / 0.9841 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.5546, allocations: 39.64 kB / 0.9841 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.5547, allocations: 39.61 kB / 0.9842 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.5551, allocations: 134.6 kB / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.5554, allocations: 387.8 kB / 0.9847 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.5557, allocations: 144.3 kB / 0.9848 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.5558, allocations: 91.41 kB / 0.9849 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.5559, allocations: 91.36 kB / 0.985 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.556, allocations: 8 kB / 0.985 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.556, allocations: 8 kB / 0.985 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.556, allocations: 39.72 kB / 0.985 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.5561, allocations: 89.52 kB / 0.9851 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.5565, allocations: 497 kB / 0.9856 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5565, allocations: 0 / 0.9856 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5565, allocations: 3.938 kB / 0.9856 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5565, allocations: 0 / 0.9856 GB, free: 1.648 MB / 0.7325 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.0007482/0.5573, allocations: 0.5883 MB / 0.9862 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5573, allocations: 8.031 kB / 0.9862 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.5574, allocations: 62.53 kB / 0.9862 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.5575, allocations: 39.53 kB / 0.9863 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.5579, allocations: 370.2 kB / 0.9866 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.5579, allocations: 24.56 kB / 0.9867 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.558, allocations: 27.95 kB / 0.9867 GB, free: 456 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.5585, allocations: 329.4 kB / 0.987 GB, free: 104 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5586, allocations: 4 kB / 0.987 GB, free: 100 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.5586, allocations: 8 kB / 0.987 GB, free: 92 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5586, allocations: 8 kB / 0.987 GB, free: 84 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.5591, allocations: 242.1 kB / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.5605, allocations: 1.186 MB / 0.9884 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.561, allocations: 242.8 kB / 0.9886 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.5612, allocations: 100.8 kB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.5613, allocations: 0 / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.5613, allocations: 38.56 kB / 0.9888 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.5613, allocations: 4 kB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.0006456/0.5619, allocations: 318.2 kB / 0.9891 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.562, allocations: 77.11 kB / 0.9892 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.5624, allocations: 332.5 kB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.5624, allocations: 29.7 kB / 0.9895 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5625, allocations: 188.2 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.5626, allocations: 59.19 kB / 0.9897 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5626, allocations: 0 / 0.9897 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5627, allocations: 346.8 kB / 0.9901 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.5629, allocations: 87.97 kB / 0.9901 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.5631, allocations: 124.8 kB / 0.9903 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.5633, allocations: 93.48 kB / 0.9904 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5634, allocations: 0 / 0.9904 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004619/0.5638, allocations: 266.5 kB / 0.9906 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.5639, allocations: 110.6 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5639, allocations: 0 / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5639, allocations: 7.938 kB / 0.9907 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.5641, allocations: 40.05 kB / 0.9908 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5641, allocations: 4 kB / 0.9908 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.5643, allocations: 27.75 kB / 0.9908 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.5643, allocations: 11.98 kB / 0.9908 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-06/0.5643, allocations: 4 kB / 0.9908 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003059/0.5646, allocations: 173.1 kB / 0.991 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.5646, allocations: 4 kB / 0.991 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-06/0.5646, allocations: 0 / 0.991 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.5648, allocations: 35.92 kB / 0.991 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.5648, allocations: 0 / 0.991 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.5649, allocations: 15.84 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.5649, allocations: 4 kB / 0.991 GB, free: 11.82 MB / 0.7481 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.0001808/0.5651, allocations: 245 kB / 0.9913 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.5652, allocations: 43.66 kB / 0.9913 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.5652, allocations: 31.28 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5653, allocations: 0 / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5653, allocations: 4 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.5653, allocations: 0 / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.5657, allocations: 417.2 kB / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5657, allocations: 0 / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.5659, allocations: 27.92 kB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5659, allocations: 4 kB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.5659, allocations: 4 kB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5659, allocations: 4 kB / 0.9918 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5659, allocations: 0 / 0.9918 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.5666, allocations: 460 kB / 0.9922 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5667, allocations: 128.8 kB / 0.9923 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.5668, allocations: 3.984 kB / 0.9923 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.5669, allocations: 12 kB / 0.9924 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.567, allocations: 11.98 kB / 0.9924 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.567, allocations: 0 / 0.9924 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002225/0.5672, allocations: 239.1 kB / 0.9926 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.433e-06/0.5672, allocations: 0 / 0.9926 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003932/0.5676, allocations: 95.56 kB / 0.9927 GB, free: 10.03 MB / 0.7481 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.0009391/0.5686, allocations: 0.9881 MB / 0.9936 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.5692, allocations: 295.8 kB / 0.9939 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5692, allocations: 0 / 0.9939 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.5694, allocations: 108.1 kB / 0.994 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.5699, allocations: 72.95 kB / 0.9941 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.573, allocations: 1.799 MB / 0.9959 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.5733, allocations: 0.7716 MB / 0.9966 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.5734, allocations: 30.28 kB / 0.9966 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.5736, allocations: 103.3 kB / 0.9967 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.5736, allocations: 0 / 0.9967 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.5912, allocations: 6.06 MB / 1.003 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.5914, allocations: 198.4 kB / 1.003 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.441, allocations: 2.109 kB / 1.003 GB, free: 15.66 MB / 0.7637 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat does not exist to compare? outputFormat=mat