Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.254/2.254, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 183.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 91.95 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.208e-05, allocations: 7.125 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2859, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.348/5.634, allocations: 1.888 GB / 3.107 GB, free: 356.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/5.634, allocations: 87.39 kB / 3.107 GB, free: 356.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.415/9.049, allocations: 0.9741 GB / 4.081 GB, free: 276 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.292e-06/9.049, allocations: 0 / 4.081 GB, free: 276 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.718e-05/9.049, allocations: 19.25 kB / 4.081 GB, free: 276 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002568/9.052, allocations: 1.038 MB / 4.082 GB, free: 275.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/9.052, allocations: 15.55 kB / 4.082 GB, free: 275.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.31e-05/9.052, allocations: 76.72 kB / 4.082 GB, free: 275.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/9.053, allocations: 218.9 kB / 4.082 GB, free: 275.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/9.055, allocations: 0.8824 MB / 4.083 GB, free: 274.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/9.055, allocations: 29.06 kB / 4.083 GB, free: 274.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/9.055, allocations: 43.47 kB / 4.083 GB, free: 274.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/9.056, allocations: 0.4917 MB / 4.083 GB, free: 274.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/9.056, allocations: 0 / 4.083 GB, free: 274.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/9.056, allocations: 19.27 kB / 4.083 GB, free: 274.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/9.056, allocations: 12.5 kB / 4.083 GB, free: 274.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/9.057, allocations: 378.1 kB / 4.084 GB, free: 274 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.00238/9.059, allocations: 2.159 MB / 4.086 GB, free: 272.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/9.06, allocations: 273.8 kB / 4.086 GB, free: 272 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/9.06, allocations: 131.9 kB / 4.086 GB, free: 272 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008873/9.061, allocations: 0.813 MB / 4.087 GB, free: 271.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/9.061, allocations: 207.9 kB / 4.087 GB, free: 270.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/9.061, allocations: 0 / 4.087 GB, free: 270.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.0007405/9.062, allocations: 351.4 kB / 4.088 GB, free: 270.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/9.062, allocations: 110.6 kB / 4.088 GB, free: 270.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/9.062, allocations: 0.5518 MB / 4.088 GB, free: 270.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/9.062, allocations: 33.42 kB / 4.088 GB, free: 270.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/9.063, allocations: 331.1 kB / 4.089 GB, free: 270 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/9.063, allocations: 101.7 kB / 4.089 GB, free: 269.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/9.063, allocations: 4 kB / 4.089 GB, free: 269.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/9.063, allocations: 375.5 kB / 4.089 GB, free: 269.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/9.063, allocations: 113 kB / 4.089 GB, free: 269.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/9.063, allocations: 300.4 kB / 4.089 GB, free: 269.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/9.064, allocations: 157.9 kB / 4.09 GB, free: 269.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/9.064, allocations: 0 / 4.09 GB, free: 269.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005942/9.064, allocations: 464.1 kB / 4.09 GB, free: 269 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00031/9.064, allocations: 1.827 MB / 4.092 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/9.064, allocations: 13.92 kB / 4.092 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/9.065, allocations: 7.812 kB / 4.092 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/9.065, allocations: 88.61 kB / 4.092 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/9.065, allocations: 7.562 kB / 4.092 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/9.065, allocations: 66.36 kB / 4.092 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/9.065, allocations: 26.3 kB / 4.092 GB, free: 266.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/9.065, allocations: 5.156 kB / 4.092 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005031/9.066, allocations: 374 kB / 4.092 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/9.066, allocations: 3.938 kB / 4.092 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/9.066, allocations: 11.8 kB / 4.092 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/9.066, allocations: 91.86 kB / 4.093 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/9.066, allocations: 6.656 kB / 4.093 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/9.067, allocations: 54.05 kB / 4.093 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/9.067, allocations: 29.33 kB / 4.093 GB, free: 266.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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 9.361e-05/9.067, allocations: 134.2 kB / 4.093 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/9.067, allocations: 59.75 kB / 4.093 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/9.067, allocations: 326.9 kB / 4.093 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/9.067, allocations: 7.797 kB / 4.093 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/9.067, allocations: 0 / 4.093 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/9.067, allocations: 14.08 kB / 4.093 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/9.069, allocations: 1.172 MB / 4.094 GB, free: 265.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/9.069, allocations: 3.281 kB / 4.094 GB, free: 265.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/9.069, allocations: 50.62 kB / 4.094 GB, free: 265.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/9.069, allocations: 7.594 kB / 4.094 GB, free: 265.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/9.069, allocations: 10.84 kB / 4.094 GB, free: 265.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/9.069, allocations: 6.328 kB / 4.094 GB, free: 265.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/9.069, allocations: 3.938 kB / 4.094 GB, free: 265.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/9.07, allocations: 0.7248 MB / 4.095 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/9.07, allocations: 175.4 kB / 4.095 GB, free: 264.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.214e-05/9.07, allocations: 14.92 kB / 4.095 GB, free: 264.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/9.07, allocations: 17.2 kB / 4.095 GB, free: 264.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/9.07, allocations: 26.47 kB / 4.095 GB, free: 264.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/9.07, allocations: 18.19 kB / 4.095 GB, free: 264.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004089/9.071, allocations: 440 kB / 4.096 GB, free: 264.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/9.071, allocations: 0 / 4.096 GB, free: 264.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001324/9.072, allocations: 414.1 kB / 4.096 GB, free: 264.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.003298/9.075, allocations: 3.449 MB / 4.099 GB, free: 262 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007578/9.076, allocations: 0.4997 MB / 4.1 GB, free: 261.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/9.076, allocations: 0 / 4.1 GB, free: 261.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/9.076, allocations: 144.6 kB / 4.1 GB, free: 261.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/9.078, allocations: 255.5 kB / 4.1 GB, free: 261.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/9.082, allocations: 1.859 MB / 4.102 GB, free: 260.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/9.082, allocations: 0.9145 MB / 4.103 GB, free: 259.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008973/9.083, allocations: 225.3 kB / 4.103 GB, free: 259.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/9.083, allocations: 200 kB / 4.103 GB, free: 259.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.353e-06/9.083, allocations: 3.938 kB / 4.103 GB, free: 259.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05837/9.142, allocations: 41.29 MB / 4.144 GB, free: 225.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/9.142, allocations: 210.8 kB / 4.144 GB, free: 225.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/12.64, allocations: 2.109 kB / 4.144 GB, free: 225.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat does not exist to compare? outputFormat=mat