Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.295/2.295, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001195/0.001195, allocations: 188.8 kB / 487.4 MB, free: 5.02 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.604/1.604, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.001074/0.001074, allocations: 91.86 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.038e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.333, allocations: 147.6 MB / 1.35 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/1.333, allocations: 70.5 kB / 1.35 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001138/1.334, allocations: 370.1 kB / 1.351 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.334, allocations: 0 / 1.351 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.334, allocations: 3.844 kB / 1.351 GB, free: 33.75 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002589/1.334, allocations: 308.6 kB / 1.351 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.334, allocations: 12.2 kB / 1.351 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/1.335, allocations: 2.625 kB / 1.351 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/1.335, allocations: 163.8 kB / 1.351 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.335, allocations: 1.562 kB / 1.351 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/1.335, allocations: 0 / 1.351 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.564e-05/1.335, allocations: 4.531 kB / 1.351 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.694e-05/1.335, allocations: 30.27 kB / 1.351 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.335, allocations: 3.938 kB / 1.351 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/1.335, allocations: 0 / 1.351 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.335, allocations: 0.5625 kB / 1.351 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/1.335, allocations: 366.1 kB / 1.351 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/1.335, allocations: 169.1 kB / 1.352 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/1.335, allocations: 84.08 kB / 1.352 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/1.335, allocations: 77.72 kB / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/1.335, allocations: 112.9 kB / 1.352 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.335, allocations: 3.938 kB / 1.352 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.417e-05/1.335, allocations: 26.27 kB / 1.352 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/1.335, allocations: 56.16 kB / 1.352 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/1.336, allocations: 85.61 kB / 1.352 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/1.336, allocations: 29.55 kB / 1.352 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/1.336, allocations: 80.92 kB / 1.352 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/1.336, allocations: 0 / 1.352 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/1.336, allocations: 0 / 1.352 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.336, allocations: 315.4 kB / 1.352 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/1.336, allocations: 3.25 kB / 1.352 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/1.336, allocations: 0.6406 kB / 1.352 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/1.336, allocations: 80.59 kB / 1.353 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/1.336, allocations: 75.28 kB / 1.353 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.245e-05/1.336, allocations: 34.94 kB / 1.353 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/1.336, allocations: 79.09 kB / 1.353 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/1.336, allocations: 79.67 kB / 1.353 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.908e-05/1.336, allocations: 151.2 kB / 1.353 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.683e-05/1.336, allocations: 79.83 kB / 1.353 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.647e-05/1.336, allocations: 154.6 kB / 1.353 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/1.336, allocations: 78.25 kB / 1.353 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/1.336, allocations: 83.8 kB / 1.353 GB, free: 30.86 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 (0): * Single equations (assignments): 0 * 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.956e-05/1.336, allocations: 259.2 kB / 1.354 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.9e-05/1.336, allocations: 132.1 kB / 1.354 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/1.337, allocations: 114 kB / 1.354 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/1.337, allocations: 113.7 kB / 1.354 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/1.337, allocations: 181 kB / 1.354 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-05/1.337, allocations: 184.8 kB / 1.354 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/1.337, allocations: 177.1 kB / 1.354 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/1.337, allocations: 387 kB / 1.355 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/1.337, allocations: 109.5 kB / 1.355 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/1.337, allocations: 101.7 kB / 1.355 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.029e-05/1.337, allocations: 177.1 kB / 1.355 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/1.337, allocations: 181 kB / 1.355 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.817e-05/1.337, allocations: 177.8 kB / 1.356 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.13e-05/1.337, allocations: 185.6 kB / 1.356 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/1.337, allocations: 313.2 kB / 1.356 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/1.337, allocations: 179.2 kB / 1.356 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/1.338, allocations: 182.3 kB / 1.356 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/1.338, allocations: 101.8 kB / 1.356 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/1.338, allocations: 192.2 kB / 1.357 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/1.338, allocations: 110.2 kB / 1.357 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.843e-05/1.338, allocations: 75.28 kB / 1.357 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.338, allocations: 0 / 1.357 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002404/1.338, allocations: 0 / 1.357 GB, free: 27.14 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 (0): * Single equations (assignments): 0 * 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.0003514/1.338, allocations: 0.8109 MB / 1.358 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.731e-05/1.338, allocations: 0.5625 kB / 1.358 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.338, allocations: 0 / 1.358 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/1.338, allocations: 3.938 kB / 1.358 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/1.339, allocations: 0.5206 MB / 1.358 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/1.339, allocations: 146.4 kB / 1.358 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/1.339, allocations: 0.6794 MB / 1.359 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.104e-06/1.339, allocations: 0 / 1.359 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/1.339, allocations: 7.438 kB / 1.359 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.339, allocations: 0 / 1.359 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/1.357, allocations: 414.6 kB / 1.359 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.357, allocations: 160.7 kB / 1.359 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.367/2.725, allocations: 0 / 1.359 GB, free: 24.69 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat