Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.0008414/0.0008416, 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.0008273/0.0008274, 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.438 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.454/2.454, allocations: 390.4 MB / 0.6655 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003998, allocations: 11.98 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.6964, allocations: 142.3 MB / 0.9538 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2103/0.9068, allocations: 202.2 MB / 1.151 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.925, allocations: 12.88 MB / 1.164 GB, free: 8.555 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.9273, allocations: 55.62 kB / 1.164 GB, free: 8.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.9292, allocations: 0.5394 MB / 1.164 GB, free: 7.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.9344, allocations: 1.609 MB / 1.166 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.9375, allocations: 0.9239 MB / 1.167 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005073/0.9425, allocations: 3.399 MB / 1.17 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.9443, allocations: 0.8805 MB / 1.171 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.9494, allocations: 1.856 MB / 1.173 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.9514, allocations: 0.9454 MB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.9515, allocations: 44 kB / 1.174 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.9541, allocations: 0.9314 MB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.9545, allocations: 370.7 kB / 1.175 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.955, allocations: 273 kB / 1.175 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.9569, allocations: 1.43 MB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9569, allocations: 0 / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9569, allocations: 0 / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.9569, allocations: 0 / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002395/0.9593, allocations: 1.431 MB / 1.178 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.9594, allocations: 8.031 kB / 1.178 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/0.9596, allocations: 139.6 kB / 1.178 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.9617, allocations: 477.8 kB / 1.179 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.9631, allocations: 0.8553 MB / 1.18 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008599/0.964, allocations: 261.8 kB / 1.18 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.9641, allocations: 91.98 kB / 1.18 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.9663, allocations: 1.218 MB / 1.181 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.9663, allocations: 0 / 1.181 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/0.9664, allocations: 40 kB / 1.181 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.9665, allocations: 37.3 kB / 1.181 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.9685, allocations: 0.9259 MB / 1.182 GB, free: 5.598 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007175/0.9757, allocations: 5.64 MB / 1.188 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.9761, allocations: 255.7 kB / 1.188 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.9763, allocations: 149.1 kB / 1.188 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.9765, allocations: 93.09 kB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.9766, allocations: 50.45 kB / 1.188 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007029/0.9773, allocations: 131 kB / 1.188 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 3.256e-06/0.9773, allocations: 4 kB / 1.188 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001158/0.9785, allocations: 468 kB / 1.189 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.9786, allocations: 184.4 kB / 1.189 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.9805, allocations: 1.302 MB / 1.19 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.9806, allocations: 33.7 kB / 1.19 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.981, allocations: 0.6088 MB / 1.191 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.9811, allocations: 75.08 kB / 1.191 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.9812, allocations: 8 kB / 1.191 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9813, allocations: 326 kB / 1.191 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/0.982, allocations: 256.9 kB / 1.191 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/0.9828, allocations: 0.5304 MB / 1.192 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.9835, allocations: 315.6 kB / 1.192 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.9836, allocations: 3.953 kB / 1.192 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001915/0.9855, allocations: 0.8569 MB / 1.193 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.9855, allocations: 11.95 kB / 1.193 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.9855, allocations: 12.09 kB / 1.193 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.9856, allocations: 19.94 kB / 1.193 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.9863, allocations: 179.7 kB / 1.193 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/0.9864, allocations: 19.92 kB / 1.193 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.9878, allocations: 195.7 kB / 1.194 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.9879, allocations: 35.98 kB / 1.194 GB, free: 9.301 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (63): * Single equations (assignments): 63 * 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.0005447/0.9885, allocations: 305.5 kB / 1.194 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.9887, allocations: 114.6 kB / 1.194 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.9893, allocations: 284.5 kB / 1.194 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.9893, allocations: 4 kB / 1.194 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.9893, allocations: 0 / 1.194 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9893, allocations: 8 kB / 1.194 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.9916, allocations: 1.682 MB / 1.196 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.9916, allocations: 4 kB / 1.196 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.9918, allocations: 32.22 kB / 1.196 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.9918, allocations: 4 kB / 1.196 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.9919, allocations: 11.94 kB / 1.196 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.9919, allocations: 7.938 kB / 1.196 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.9919, allocations: 4.375 kB / 1.196 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.9924, allocations: 494.3 kB / 1.196 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.9929, allocations: 243.5 kB / 1.197 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.993, allocations: 7.984 kB / 1.197 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.9938, allocations: 75.94 kB / 1.197 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.9938, allocations: 23.88 kB / 1.197 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.9938, allocations: 11.98 kB / 1.197 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001558/0.9954, allocations: 0.9193 MB / 1.198 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9954, allocations: 0 / 1.198 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001024/0.9964, allocations: 275.5 kB / 1.198 GB, free: 4.629 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.001339/0.9978, allocations: 1.141 MB / 1.199 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.9989, allocations: 455 kB / 1.199 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.999, allocations: 4 kB / 1.199 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.9991, allocations: 101.1 kB / 1.2 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.002, allocations: 0.5596 MB / 1.2 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.013, allocations: 6.396 MB / 1.206 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/1.014, allocations: 1.122 MB / 1.207 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001044/1.015, allocations: 225.4 kB / 1.208 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/1.015, allocations: 411.3 kB / 1.208 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/1.015, allocations: 0 / 1.208 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05305/1.068, allocations: 27.14 MB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/1.069, allocations: 256 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.489, allocations: 5.469 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat does not exist to compare? outputFormat=mat