Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009667/0.0009667, allocations: 184.5 kB / 487.4 MB, free: 5.039 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.462/1.462, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.000911, allocations: 105.2 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.84e-05, allocations: 15.98 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3501, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9091/1.259, allocations: 148.1 MB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.26, allocations: 65.77 kB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002938/1.263, allocations: 0.8045 MB / 1.352 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.794e-06/1.263, allocations: 1.344 kB / 1.352 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.263, allocations: 0 / 1.352 GB, free: 34.03 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000422/1.263, allocations: 364.9 kB / 1.352 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.263, allocations: 8.875 kB / 1.352 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/1.263, allocations: 6.469 kB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/1.263, allocations: 175.2 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.263, allocations: 1.312 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/1.263, allocations: 5.281 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/1.263, allocations: 18.03 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/1.263, allocations: 43.62 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.263, allocations: 0.5625 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.264, allocations: 4 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.264, allocations: 1.312 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/1.264, allocations: 283.4 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/1.264, allocations: 38.75 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/1.264, allocations: 18.53 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/1.264, allocations: 0 / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/1.264, allocations: 36.19 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/1.264, allocations: 0 / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001717/1.264, allocations: 43.8 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/1.264, allocations: 53.31 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/1.265, allocations: 106 kB / 1.353 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/1.265, allocations: 25.7 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/1.265, allocations: 86.56 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/1.265, allocations: 13.3 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/1.265, allocations: 1.312 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.265, allocations: 318.3 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/1.265, allocations: 11.84 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/1.265, allocations: 10.52 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/1.265, allocations: 11.7 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.265, allocations: 0 / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.68e-05/1.265, allocations: 49.2 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.265, allocations: 7.438 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.265, allocations: 1.344 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.265, allocations: 0 / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/1.265, allocations: 21 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.265, allocations: 0 / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/1.265, allocations: 20.89 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/1.265, allocations: 2.844 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.171e-05/1.266, allocations: 107 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001/1.266, allocations: 59.66 kB / 1.353 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/1.266, allocations: 3.391 kB / 1.353 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/1.266, allocations: 6.375 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.266, allocations: 1.312 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.266, allocations: 4 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.266, allocations: 1.984 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/1.266, allocations: 148.1 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.266, allocations: 0.7031 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.266, allocations: 20.42 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.266, allocations: 4.594 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.266, allocations: 4.375 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.266, allocations: 0 / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.266, allocations: 4.656 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/1.266, allocations: 152.9 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/1.266, allocations: 78.42 kB / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/1.266, allocations: 6.047 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.266, allocations: 16.5 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/1.266, allocations: 10.72 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.266, allocations: 1.312 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.594e-05/1.267, allocations: 86.72 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.267, allocations: 0 / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002008/1.267, allocations: 11.66 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004033/1.267, allocations: 0.6807 MB / 1.355 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.694e-05/1.267, allocations: 26.8 kB / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.267, allocations: 0 / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/1.267, allocations: 14.75 kB / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/1.268, allocations: 4.578 kB / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/1.268, allocations: 95.61 kB / 1.355 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.268, allocations: 0.6858 MB / 1.355 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.797e-05/1.268, allocations: 4.5 kB / 1.355 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/1.268, allocations: 15.19 kB / 1.355 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.268, allocations: 0 / 1.355 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/1.289, allocations: 0.9591 MB / 1.356 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.289, allocations: 143 kB / 1.356 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.826, allocations: 0 / 1.356 GB, free: 30.05 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat