Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001036/0.001036, allocations: 91.84 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.001383/0.001383, 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.388/1.388, allocations: 223.2 MB / 240 MB, free: 5.305 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.466/2.466, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6882, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001544/0.6898, allocations: 1.321 MB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.6913, allocations: 1.382 MB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.6914, allocations: 0 / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.6917, allocations: 46.08 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.6919, allocations: 47.98 kB / 0.9566 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.6921, allocations: 90.77 kB / 0.9567 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.6923, allocations: 141.2 kB / 0.9568 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.6923, allocations: 4.266 kB / 0.9568 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.6924, allocations: 59.36 kB / 0.9569 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.6926, allocations: 67.77 kB / 0.9569 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.6926, allocations: 4.312 kB / 0.9569 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.6927, allocations: 56.22 kB / 0.957 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.6928, allocations: 46.48 kB / 0.957 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.6928, allocations: 39.95 kB / 0.9571 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.693, allocations: 139.1 kB / 0.9572 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.693, allocations: 0 / 0.9572 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.693, allocations: 4 kB / 0.9572 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.693, allocations: 1.062 kB / 0.9572 GB, free: 5.473 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004749/0.6935, allocations: 445.4 kB / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.6936, allocations: 13.97 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.6936, allocations: 37.16 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.6937, allocations: 18.7 kB / 0.9577 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.6939, allocations: 253.6 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.694, allocations: 6.688 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.694, allocations: 2.562 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.6942, allocations: 123.5 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6942, allocations: 0 / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.6942, allocations: 5.312 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6942, allocations: 0.9062 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.6944, allocations: 151.7 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.6946, allocations: 232.6 kB / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.695, allocations: 172.7 kB / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/0.6951, allocations: 54.41 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.6951, allocations: 8.078 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.6953, allocations: 109 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.6953, allocations: 0 / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004089/0.6957, allocations: 233.1 kB / 0.959 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.6958, allocations: 82.44 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.6959, allocations: 201.7 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.696, allocations: 31.08 kB / 0.9593 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.696, allocations: 111 kB / 0.9594 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.6961, allocations: 43.7 kB / 0.9595 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.6961, allocations: 1.375 kB / 0.9595 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.6961, allocations: 327 kB / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.6962, allocations: 51.34 kB / 0.9598 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.6963, allocations: 71.42 kB / 0.9599 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.6964, allocations: 60.8 kB / 0.9599 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6964, allocations: 0 / 0.9599 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002709/0.6967, allocations: 190.3 kB / 0.9601 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.6967, allocations: 5.219 kB / 0.9601 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6967, allocations: 1.375 kB / 0.9601 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6968, allocations: 5.438 kB / 0.9601 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.6969, allocations: 29.16 kB / 0.9602 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6969, allocations: 5.312 kB / 0.9602 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.6969, allocations: 10.86 kB / 0.9602 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.697, allocations: 9.156 kB / 0.9602 GB, free: 2.969 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.694e-05/0.6971, allocations: 136.3 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.6971, allocations: 18.59 kB / 0.9603 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.6971, allocations: 23.62 kB / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6972, allocations: 9.984 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6972, allocations: 0 / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6972, allocations: 0 / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.6973, allocations: 243.9 kB / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6973, allocations: 0 / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.6974, allocations: 19.89 kB / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6974, allocations: 0 / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.6974, allocations: 2.719 kB / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6974, allocations: 1.344 kB / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6974, allocations: 0 / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.6977, allocations: 217.9 kB / 0.9608 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.6978, allocations: 97.97 kB / 0.9609 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.6978, allocations: 9.781 kB / 0.9609 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.6979, allocations: 3.125 kB / 0.9609 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.6979, allocations: 13.98 kB / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.6979, allocations: 12.44 kB / 0.961 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001139/0.698, allocations: 155.7 kB / 0.9611 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6981, allocations: 0 / 0.9611 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002531/0.6983, allocations: 42.67 kB / 0.9611 GB, free: 2.152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001344/0.6997, allocations: 1.103 MB / 0.9622 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.6999, allocations: 119.2 kB / 0.9623 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6999, allocations: 0 / 0.9623 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.7, allocations: 62.53 kB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.7003, allocations: 33.3 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.7016, allocations: 0.9927 MB / 0.9634 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.7018, allocations: 0.7189 MB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.702, allocations: 49.5 kB / 0.9641 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.7021, allocations: 60.34 kB / 0.9642 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.7021, allocations: 4 kB / 0.9642 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.7181, allocations: 4.174 MB / 0.9683 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.7184, allocations: 252.3 kB / 0.9685 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.48, allocations: 0 / 0.9685 GB, free: 13.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat does not exist to compare? outputFormat=mat