Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001072/0.001072, allocations: 179.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001104/0.001105, allocations: 88.66 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.516e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2987, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.518, allocations: 437.4 MB / 1.64 GB, free: 9.27 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.518, allocations: 95.61 kB / 1.64 GB, free: 9.223 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.402/4.92, allocations: 0.7763 GB / 2.416 GB, free: 213.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.605e-06/4.92, allocations: 0 / 2.416 GB, free: 213.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005849/4.921, allocations: 57.64 kB / 2.416 GB, free: 213.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.007789/4.928, allocations: 1.983 MB / 2.418 GB, free: 211.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/4.928, allocations: 8.031 kB / 2.418 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00063/4.929, allocations: 159.7 kB / 2.418 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/4.934, allocations: 0.7218 MB / 2.419 GB, free: 210.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03333/4.967, allocations: 14.41 MB / 2.433 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/4.968, allocations: 90.06 kB / 2.433 GB, free: 196.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/4.968, allocations: 118.3 kB / 2.433 GB, free: 196.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/4.971, allocations: 1.227 MB / 2.434 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/4.972, allocations: 0 / 2.434 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/4.972, allocations: 44 kB / 2.434 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/4.972, allocations: 27.22 kB / 2.434 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/4.974, allocations: 0.8825 MB / 2.435 GB, free: 193.9 MB / 1.151 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.008161/4.982, allocations: 5.885 MB / 2.441 GB, free: 187.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/4.984, allocations: 0.77 MB / 2.442 GB, free: 186.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/4.984, allocations: 330.5 kB / 2.442 GB, free: 186.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004396/4.988, allocations: 2.851 MB / 2.445 GB, free: 183.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/4.988, allocations: 39.12 kB / 2.445 GB, free: 183.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007037/4.989, allocations: 87.36 kB / 2.445 GB, free: 183.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 4.739e-06/4.989, allocations: 3.938 kB / 2.445 GB, free: 183.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001779/4.991, allocations: 0.8156 MB / 2.446 GB, free: 182.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/4.991, allocations: 59.97 kB / 2.446 GB, free: 182.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/4.993, allocations: 1.305 MB / 2.447 GB, free: 181.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.019e-05/4.993, allocations: 41.7 kB / 2.447 GB, free: 181.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007251/4.994, allocations: 0.8613 MB / 2.448 GB, free: 180.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/4.994, allocations: 201 kB / 2.448 GB, free: 180.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/4.994, allocations: 19.83 kB / 2.448 GB, free: 180.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001295/4.994, allocations: 344.2 kB / 2.449 GB, free: 179.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/4.995, allocations: 289.9 kB / 2.449 GB, free: 179.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007697/4.996, allocations: 0.7207 MB / 2.45 GB, free: 178.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/4.996, allocations: 387.2 kB / 2.45 GB, free: 178.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/4.996, allocations: 4 kB / 2.45 GB, free: 178.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002387/4.999, allocations: 1.238 MB / 2.451 GB, free: 176.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/5, allocations: 4.344 MB / 2.455 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/5, allocations: 12 kB / 2.455 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008584/5.001, allocations: 196.6 kB / 2.456 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/5.002, allocations: 231.7 kB / 2.456 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/5.003, allocations: 1.807 MB / 2.458 GB, free: 169.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/5.005, allocations: 117 kB / 2.458 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/5.005, allocations: 83.89 kB / 2.458 GB, free: 169.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/5.005, allocations: 5.875 kB / 2.458 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002218/5.007, allocations: 1.1 MB / 2.459 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/5.007, allocations: 12 kB / 2.459 GB, free: 168.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/5.008, allocations: 221.8 kB / 2.459 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/5.008, allocations: 222.9 kB / 2.459 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/5.012, allocations: 3.795 MB / 2.463 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/5.014, allocations: 109.3 kB / 2.463 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/5.014, allocations: 67.95 kB / 2.463 GB, free: 164 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * 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: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003276/5.014, allocations: 171 kB / 2.463 GB, free: 163.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/5.015, allocations: 169.8 kB / 2.463 GB, free: 163.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/5.017, allocations: 1.221 MB / 2.465 GB, free: 162.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/5.017, allocations: 11.98 kB / 2.465 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/5.017, allocations: 0 / 2.465 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/5.017, allocations: 6.484 kB / 2.465 GB, free: 162.4 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.00411/5.021, allocations: 2.466 MB / 2.467 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/5.021, allocations: 0 / 2.467 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/5.022, allocations: 130.2 kB / 2.467 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/5.022, allocations: 184.5 kB / 2.467 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/5.022, allocations: 23.98 kB / 2.467 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008176/5.023, allocations: 1.767 MB / 2.469 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.023, allocations: 7.984 kB / 2.469 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/5.025, allocations: 1.264 MB / 2.47 GB, free: 156.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/5.026, allocations: 338.6 kB / 2.471 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/5.026, allocations: 16 kB / 2.471 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/5.027, allocations: 94.88 kB / 2.471 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/5.027, allocations: 54.45 kB / 2.471 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/5.027, allocations: 35.97 kB / 2.471 GB, free: 155.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001215/5.028, allocations: 1.002 MB / 2.472 GB, free: 154.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/5.028, allocations: 5.656 kB / 2.472 GB, free: 154.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003047/5.031, allocations: 1.08 MB / 2.473 GB, free: 153.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004276/5.035, allocations: 3.42 MB / 2.476 GB, free: 150.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002673/5.038, allocations: 1.591 MB / 2.478 GB, free: 148.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/5.038, allocations: 0 / 2.478 GB, free: 148.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000705/5.039, allocations: 428.4 kB / 2.478 GB, free: 148.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/5.042, allocations: 0.7039 MB / 2.479 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/5.047, allocations: 2.621 MB / 2.481 GB, free: 145.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/5.047, allocations: 1.431 MB / 2.483 GB, free: 143.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002335/5.05, allocations: 0.5851 MB / 2.483 GB, free: 143.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006863/5.05, allocations: 0.667 MB / 2.484 GB, free: 142.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/5.05, allocations: 3.938 kB / 2.484 GB, free: 142.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09213/5.142, allocations: 64.52 MB / 2.547 GB, free: 78.82 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/5.143, allocations: 228.4 kB / 2.547 GB, free: 78.56 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.159/9.301, allocations: 4 kB / 2.547 GB, free: 78.55 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat does not exist to compare? outputFormat=mat