Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.252/2.252, 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.001008/0.001008, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.665/1.665, allocations: 221.5 MB / 0.7824 GB, free: 1.031 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.0009204/0.0009204, allocations: 107.8 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.793e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2461, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9235/1.17, allocations: 147.6 MB / 1.35 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/1.17, allocations: 68.88 kB / 1.35 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001093/1.171, allocations: 370.9 kB / 1.351 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.171, allocations: 1.562 kB / 1.351 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.171, allocations: 0 / 1.351 GB, free: 34.18 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.0002219/1.171, allocations: 308.8 kB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.171, allocations: 12.69 kB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/1.171, allocations: 0.5156 kB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/1.172, allocations: 165.1 kB / 1.351 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.172, allocations: 0.6875 kB / 1.351 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/1.172, allocations: 8.578 kB / 1.351 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.224e-05/1.172, allocations: 0 / 1.351 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.61e-05/1.172, allocations: 34.44 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.172, allocations: 3.938 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/1.172, allocations: 0 / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.172, allocations: 3.844 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/1.172, allocations: 365.8 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.122e-05/1.172, allocations: 173 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/1.172, allocations: 80.7 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/1.172, allocations: 75.28 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.172, allocations: 110.4 kB / 1.352 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.172, allocations: 0 / 1.352 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.181e-05/1.172, allocations: 29.5 kB / 1.352 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/1.172, allocations: 51.41 kB / 1.352 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/1.172, allocations: 93.36 kB / 1.352 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/1.172, allocations: 25.7 kB / 1.352 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/1.172, allocations: 81.48 kB / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-06/1.172, allocations: 0 / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/1.172, allocations: 0 / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.172, allocations: 315.6 kB / 1.353 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/1.172, allocations: 0 / 1.353 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-06/1.172, allocations: 1.75 kB / 1.353 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/1.173, allocations: 83.77 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/1.173, allocations: 79.22 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.772e-05/1.173, allocations: 30.39 kB / 1.353 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/1.173, allocations: 83.7 kB / 1.353 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.173, allocations: 75.28 kB / 1.353 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.975e-05/1.173, allocations: 151.2 kB / 1.353 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-05/1.173, allocations: 79.83 kB / 1.353 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.051e-05/1.173, allocations: 155.2 kB / 1.353 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/1.173, allocations: 79.75 kB / 1.353 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/1.173, allocations: 79.22 kB / 1.353 GB, free: 31.28 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.35e-05/1.173, allocations: 256 kB / 1.354 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.791e-05/1.173, allocations: 132.5 kB / 1.354 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/1.173, allocations: 113.4 kB / 1.354 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/1.173, allocations: 109.3 kB / 1.354 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/1.173, allocations: 185 kB / 1.354 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.363e-05/1.173, allocations: 182.2 kB / 1.354 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-05/1.173, allocations: 177.1 kB / 1.354 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/1.174, allocations: 386.4 kB / 1.355 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/1.174, allocations: 109.6 kB / 1.355 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/1.174, allocations: 101.7 kB / 1.355 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.604e-05/1.174, allocations: 177 kB / 1.355 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/1.174, allocations: 181 kB / 1.355 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.407e-05/1.174, allocations: 180.9 kB / 1.356 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-05/1.174, allocations: 185.8 kB / 1.356 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/1.174, allocations: 309.5 kB / 1.356 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/1.174, allocations: 183.6 kB / 1.356 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/1.174, allocations: 184.9 kB / 1.356 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/1.174, allocations: 108.4 kB / 1.356 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/1.174, allocations: 181.1 kB / 1.357 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/1.174, allocations: 109.4 kB / 1.357 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.098e-05/1.174, allocations: 79.23 kB / 1.357 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.174, allocations: 0 / 1.357 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002368/1.175, allocations: 3.812 kB / 1.357 GB, free: 27.56 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.0003878/1.175, allocations: 0.8067 MB / 1.358 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.98e-05/1.175, allocations: 0 / 1.358 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.175, allocations: 3.938 kB / 1.358 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/1.175, allocations: 4.703 kB / 1.358 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/1.175, allocations: 0.5199 MB / 1.358 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/1.176, allocations: 143.1 kB / 1.358 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/1.176, allocations: 0.671 MB / 1.359 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.675e-06/1.176, allocations: 4.609 kB / 1.359 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/1.176, allocations: 7.438 kB / 1.359 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.176, allocations: 0 / 1.359 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/1.195, allocations: 424 kB / 1.359 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.195, allocations: 153.6 kB / 1.359 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/2.611, allocations: 0 / 1.359 GB, free: 25.11 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat