Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.0009755/0.0009755, allocations: 90.75 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.001353/0.001353, 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.407/1.407, allocations: 223.3 MB / 240 MB, free: 5.441 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.419/2.419, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8727, allocations: 142.3 MB / 0.9538 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003292/0.876, allocations: 3.23 MB / 0.957 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003622/0.8797, allocations: 2.373 MB / 0.9593 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.88, allocations: 15.75 kB / 0.9593 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.8807, allocations: 208 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.8816, allocations: 442.7 kB / 0.9599 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.8826, allocations: 429.3 kB / 0.9603 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.8841, allocations: 1.312 MB / 0.9616 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.8844, allocations: 115 kB / 0.9617 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.885, allocations: 385.7 kB / 0.9621 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007316/0.8857, allocations: 0.4982 MB / 0.9626 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.481e-05/0.8858, allocations: 36.41 kB / 0.9626 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.886, allocations: 34.59 kB / 0.9627 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.8863, allocations: 316 kB / 0.963 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.8865, allocations: 184.9 kB / 0.9631 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.8872, allocations: 0.696 MB / 0.9638 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8872, allocations: 0 / 0.9638 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8872, allocations: 0 / 0.9638 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.8872, allocations: 4 kB / 0.9638 GB, free: 0.7148 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002033/0.8893, allocations: 1.147 MB / 0.9649 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.8893, allocations: 9.094 kB / 0.9649 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.429e-05/0.8894, allocations: 70.12 kB / 0.965 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.8896, allocations: 105.8 kB / 0.9651 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.8907, allocations: 0.6209 MB / 0.9657 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.8908, allocations: 41.34 kB / 0.9658 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.8909, allocations: 61.5 kB / 0.9658 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.8916, allocations: 407.2 kB / 0.9662 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.8916, allocations: 4.906 kB / 0.9662 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.8916, allocations: 11.09 kB / 0.9662 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.8917, allocations: 8.812 kB / 0.9662 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.8921, allocations: 242.2 kB / 0.9665 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003381/0.8955, allocations: 2.514 MB / 0.9689 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.8971, allocations: 0.5505 MB / 0.9695 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.8974, allocations: 164.6 kB / 0.9696 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.8974, allocations: 2.875 kB / 0.9696 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.8974, allocations: 41.14 kB / 0.9697 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/0.8975, allocations: 3.938 kB / 0.9697 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001768/0.8992, allocations: 0.8882 MB / 0.9705 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.8993, allocations: 59.64 kB / 0.9706 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.9007, allocations: 0.9184 MB / 0.9715 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.9008, allocations: 41.08 kB / 0.9715 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.9011, allocations: 361.4 kB / 0.9719 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.9013, allocations: 118 kB / 0.972 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.9013, allocations: 15.19 kB / 0.972 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.9015, allocations: 400.5 kB / 0.9724 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.9019, allocations: 243.8 kB / 0.9726 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.9026, allocations: 0.6421 MB / 0.9732 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.9032, allocations: 332.9 kB / 0.9736 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.9032, allocations: 8.031 kB / 0.9736 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001859/0.9051, allocations: 1.019 MB / 0.9746 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.9051, allocations: 11.75 kB / 0.9746 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.9052, allocations: 17.69 kB / 0.9746 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/0.9056, allocations: 126.5 kB / 0.9747 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.9063, allocations: 187.8 kB / 0.9749 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.9097, allocations: 4.164 MB / 0.9789 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.9108, allocations: 116.3 kB / 0.9791 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/0.9108, allocations: 38.16 kB / 0.9791 GB, free: 4.258 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004263/0.9113, allocations: 271.8 kB / 0.9794 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.9114, allocations: 78.5 kB / 0.9794 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.9116, allocations: 90.88 kB / 0.9795 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.9116, allocations: 2.781 kB / 0.9795 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.9116, allocations: 2.5 kB / 0.9795 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.9116, allocations: 0 / 0.9795 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009015/0.9125, allocations: 0.6551 MB / 0.9802 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9125, allocations: 1.438 kB / 0.9802 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.9129, allocations: 64.95 kB / 0.9802 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003245/0.9132, allocations: 102.1 kB / 0.9803 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.9132, allocations: 11.84 kB / 0.9803 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.917, allocations: 4.138 MB / 0.9844 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.917, allocations: 1.031 kB / 0.9844 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.9187, allocations: 0.7385 MB / 0.9851 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/0.9192, allocations: 207.9 kB / 0.9853 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.9193, allocations: 8 kB / 0.9853 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.9198, allocations: 27.92 kB / 0.9853 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.9199, allocations: 32.09 kB / 0.9854 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.9199, allocations: 7.984 kB / 0.9854 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009204/0.9208, allocations: 0.6161 MB / 0.986 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9208, allocations: 0 / 0.986 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001102/0.922, allocations: 271.7 kB / 0.9862 GB, free: 13.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/0.9236, allocations: 1.3 MB / 0.9875 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.9253, allocations: 0.9135 MB / 0.9884 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9253, allocations: 0 / 0.9884 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.9259, allocations: 0.5234 MB / 0.9889 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.9269, allocations: 176.5 kB / 0.9891 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008879/0.9358, allocations: 5.803 MB / 0.9947 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.9364, allocations: 0.9956 MB / 0.9957 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004707/0.9369, allocations: 145.9 kB / 0.9958 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.9373, allocations: 279.3 kB / 0.9961 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of SimCode: time 1.072e-06/0.9373, allocations: 0 / 0.9961 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.9712, allocations: 16.79 MB / 1.013 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.9714, allocations: 213 kB / 1.013 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/3.131, allocations: 7.938 kB / 1.013 GB, free: 1.938 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat does not exist to compare? outputFormat=mat