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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.000947, 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.0008334/0.0008335, 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.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.395 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.623/2.623, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7108, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05155/0.7624, allocations: 53.23 MB / 1.006 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02472/0.7871, allocations: 16.78 MB / 1.022 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003509/0.7907, allocations: 75.5 kB / 1.022 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.7934, allocations: 0.7568 MB / 1.023 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006156/0.7996, allocations: 2.145 MB / 1.025 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004796/0.8044, allocations: 1.678 MB / 1.027 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007949/0.8124, allocations: 5.422 MB / 1.032 GB, free: 15.89 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.8148, allocations: 1.303 MB / 1.033 GB, free: 14.56 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.8193, allocations: 1.583 MB / 1.035 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.8217, allocations: 1.299 MB / 1.036 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.822, allocations: 72 kB / 1.036 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.8254, allocations: 1.47 MB / 1.038 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.826, allocations: 482.2 kB / 1.038 GB, free: 9.648 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.8266, allocations: 416.6 kB / 1.039 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.8298, allocations: 2.634 MB / 1.041 GB, free: 6.594 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.8299, allocations: 0 / 1.041 GB, free: 6.594 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8299, allocations: 0 / 1.041 GB, free: 6.594 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.798e-05/0.8299, allocations: 0 / 1.041 GB, free: 6.594 MB / 0.795 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.003643/0.8335, allocations: 2.159 MB / 1.043 GB, free: 4.375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8336, allocations: 8.031 kB / 1.043 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/0.8338, allocations: 156.5 kB / 1.043 GB, free: 4.203 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.8376, allocations: 0.8013 MB / 1.044 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/0.8421, allocations: 1.914 MB / 1.046 GB, free: 1.434 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.8422, allocations: 94.06 kB / 1.046 GB, free: 1.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.8424, allocations: 112 kB / 1.046 GB, free: 1.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.845, allocations: 1.329 MB / 1.047 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.845, allocations: 4 kB / 1.047 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.8452, allocations: 51.88 kB / 1.048 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.8452, allocations: 28 kB / 1.048 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.8478, allocations: 1.077 MB / 1.049 GB, free: 14.68 MB / 0.8106 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.008284/0.8561, allocations: 5.959 MB / 1.054 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.8584, allocations: 0.8654 MB / 1.055 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009754/0.8594, allocations: 433.4 kB / 1.056 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003576/0.863, allocations: 2.536 MB / 1.058 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.8631, allocations: 43.08 kB / 1.058 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004619/0.8636, allocations: 87.23 kB / 1.058 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=58): time 4.689e-06/0.8636, allocations: 0 / 1.058 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58): time 0.003767/0.8673, allocations: 1.428 MB / 1.06 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.8674, allocations: 55.97 kB / 1.06 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.8697, allocations: 1.552 MB / 1.061 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.8698, allocations: 41.7 kB / 1.061 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007224/0.8705, allocations: 0.8231 MB / 1.062 GB, free: 52 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.8708, allocations: 197.3 kB / 1.062 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.8709, allocations: 20 kB / 1.062 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.871, allocations: 337.9 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.872, allocations: 405.7 kB / 1.063 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.8734, allocations: 0.7281 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.8745, allocations: 481.6 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.8745, allocations: 4 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002994/0.8775, allocations: 1.31 MB / 1.065 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.8778, allocations: 338.2 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.8778, allocations: 12 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.8782, allocations: 84.8 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/0.8792, allocations: 235.6 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005021/0.8797, allocations: 0.6187 MB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.881, allocations: 123.8 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.8812, allocations: 63.97 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.8812, allocations: 4 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002579/0.8838, allocations: 1.17 MB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8838, allocations: 8 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004771/0.8843, allocations: 129.1 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.8852, allocations: 231.6 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.8891, allocations: 2.58 MB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.8903, allocations: 112 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.8905, allocations: 59.97 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (100): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008932/0.8914, allocations: 0.4889 MB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.8916, allocations: 169.8 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.8946, allocations: 1.34 MB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.8947, allocations: 8 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.8947, allocations: 0 / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.8947, allocations: 3.984 kB / 1.073 GB, free: 4.316 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.004612/0.8993, allocations: 2.598 MB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8993, allocations: 0 / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/0.9001, allocations: 156.1 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.9003, allocations: 84.62 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.9004, allocations: 27.92 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003977/0.9008, allocations: 0.5915 MB / 1.076 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9008, allocations: 3.953 kB / 1.076 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.9032, allocations: 1.286 MB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.9038, allocations: 342.6 kB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.904, allocations: 16 kB / 1.078 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008903/0.9049, allocations: 99.81 kB / 1.078 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.905, allocations: 56.55 kB / 1.078 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.9051, allocations: 35.97 kB / 1.078 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001539/0.9066, allocations: 1.062 MB / 1.079 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9066, allocations: 0 / 1.079 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002645/0.9093, allocations: 0.9278 MB / 1.08 GB, free: 12.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004052/0.9133, allocations: 2.278 MB / 1.082 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004119/0.9175, allocations: 1.734 MB / 1.084 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.9175, allocations: 1.5 kB / 1.084 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.9186, allocations: 499.4 kB / 1.085 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/0.9222, allocations: 0.7868 MB / 1.085 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.9434, allocations: 10.6 MB / 1.096 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.9444, allocations: 1.389 MB / 1.097 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002133/0.9466, allocations: 472.9 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009699/0.9476, allocations: 0.7179 MB / 1.098 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of SimCode: time 1.372e-06/0.9476, allocations: 0 / 1.098 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09253/1.04, allocations: 51.75 MB / 1.149 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/1.04, allocations: 263.6 kB / 1.149 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/4.161, allocations: 0 / 1.149 GB, free: 6.145 MB / 0.9044 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