Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.261/2.261, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.0009954/0.0009954, allocations: 188.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0008488/0.0008488, allocations: 99.88 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.675e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2721, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.247, allocations: 149.1 MB / 1.364 GB, free: 4.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.247, allocations: 67.7 kB / 1.365 GB, free: 4.941 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005763/1.248, allocations: 368.7 kB / 1.365 GB, free: 4.586 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.324e-06/1.248, allocations: 0.7812 kB / 1.365 GB, free: 4.586 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.248, allocations: 0 / 1.365 GB, free: 4.586 MB / 0.823 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.0002793/1.248, allocations: 319.5 kB / 1.365 GB, free: 4.238 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.248, allocations: 8.688 kB / 1.365 GB, free: 4.23 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/1.248, allocations: 30.56 kB / 1.365 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/1.248, allocations: 0.6562 kB / 1.365 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/1.248, allocations: 166.1 kB / 1.365 GB, free: 3.992 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.248, allocations: 0 / 1.365 GB, free: 3.992 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/1.248, allocations: 9.547 kB / 1.365 GB, free: 3.984 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/1.248, allocations: 29.64 kB / 1.365 GB, free: 3.949 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.248, allocations: 0 / 1.365 GB, free: 3.949 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/1.248, allocations: 4 kB / 1.365 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.248, allocations: 0 / 1.365 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/1.248, allocations: 4 kB / 1.365 GB, free: 3.941 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/1.249, allocations: 386.7 kB / 1.366 GB, free: 3.52 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/1.249, allocations: 169.1 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/1.249, allocations: 88.08 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/1.249, allocations: 75.28 kB / 1.366 GB, free: 3.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/1.249, allocations: 108.5 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.249, allocations: 0 / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.212e-05/1.249, allocations: 29.7 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.249, allocations: 130.6 kB / 1.366 GB, free: 2.891 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/1.249, allocations: 97.66 kB / 1.366 GB, free: 2.793 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/1.249, allocations: 29.7 kB / 1.366 GB, free: 2.758 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/1.249, allocations: 84.12 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/1.249, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-07/1.249, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.249, allocations: 313.5 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/1.249, allocations: 0 / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-06/1.249, allocations: 0 / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/1.249, allocations: 75.28 kB / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-05/1.249, allocations: 79.41 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.755e-05/1.249, allocations: 29.7 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/1.25, allocations: 79.28 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/1.25, allocations: 83.22 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.073e-05/1.25, allocations: 154.5 kB / 1.367 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.982e-05/1.25, allocations: 86.08 kB / 1.367 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.485e-05/1.25, allocations: 150.6 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/1.25, allocations: 84.02 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/1.25, allocations: 83.22 kB / 1.368 GB, free: 1.465 MB / 0.823 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 0.0001128/1.25, allocations: 252.4 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/1.25, allocations: 104.2 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/1.25, allocations: 116.2 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.234e-05/1.25, allocations: 184.2 kB / 1.368 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-05/1.25, allocations: 180.3 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/1.25, allocations: 180.2 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/1.251, allocations: 408.6 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-05/1.251, allocations: 104.9 kB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/1.251, allocations: 104.9 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-05/1.251, allocations: 184.3 kB / 1.369 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/1.251, allocations: 183.4 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.249e-05/1.251, allocations: 180.2 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.127e-05/1.251, allocations: 180.2 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/1.251, allocations: 308 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/1.251, allocations: 189.9 kB / 1.37 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/1.251, allocations: 180.8 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/1.251, allocations: 104.9 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.251, allocations: 178.9 kB / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/1.251, allocations: 112.9 kB / 1.371 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.629e-05/1.251, allocations: 79.22 kB / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.251, allocations: 0 / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002555/1.252, allocations: 0 / 1.371 GB, free: 13.82 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.0004123/1.252, allocations: 0.8208 MB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.44e-05/1.252, allocations: 0 / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.252, allocations: 0 / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/1.252, allocations: 3.938 kB / 1.372 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/1.253, allocations: 0.5181 MB / 1.372 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/1.253, allocations: 153.9 kB / 1.373 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/1.253, allocations: 0.6731 MB / 1.373 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.201e-05/1.253, allocations: 3.984 kB / 1.373 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/1.253, allocations: 7.438 kB / 1.373 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.253, allocations: 0 / 1.373 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/1.265, allocations: 0.7437 MB / 1.374 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/1.266, allocations: 175.2 kB / 1.374 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.846, allocations: 0 / 1.374 GB, free: 10.76 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat