Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.427/2.427, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.00132/0.00132, allocations: 176.9 kB / 496.1 MB, free: 12.87 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.603/1.603, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009913/0.0009911, allocations: 99.69 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.361e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3191, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.351, allocations: 149.1 MB / 1.364 GB, free: 4.906 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/1.351, allocations: 71.02 kB / 1.365 GB, free: 4.867 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005658/1.352, allocations: 370.6 kB / 1.365 GB, free: 4.512 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.094e-06/1.352, allocations: 0 / 1.365 GB, free: 4.512 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.352, allocations: 0 / 1.365 GB, free: 4.512 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.0002928/1.352, allocations: 315.2 kB / 1.365 GB, free: 4.168 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.352, allocations: 12.09 kB / 1.365 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/1.352, allocations: 30.56 kB / 1.365 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/1.352, allocations: 0 / 1.365 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.352, allocations: 163.9 kB / 1.365 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.352, allocations: 3.938 kB / 1.365 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/1.352, allocations: 8 kB / 1.365 GB, free: 3.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/1.353, allocations: 29.64 kB / 1.365 GB, free: 3.875 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.353, allocations: 0.875 kB / 1.365 GB, free: 3.875 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/1.353, allocations: 3.5 kB / 1.365 GB, free: 3.875 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/1.353, allocations: 0 / 1.365 GB, free: 3.875 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/1.353, allocations: 4 kB / 1.365 GB, free: 3.871 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/1.353, allocations: 382.9 kB / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.353, allocations: 177.1 kB / 1.366 GB, free: 3.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/1.353, allocations: 82.11 kB / 1.366 GB, free: 3.184 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/1.353, allocations: 79.27 kB / 1.366 GB, free: 3.105 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/1.353, allocations: 105.8 kB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.353, allocations: 0 / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.63e-05/1.353, allocations: 40.94 kB / 1.366 GB, free: 2.949 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/1.354, allocations: 134.6 kB / 1.366 GB, free: 2.805 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/1.354, allocations: 85 kB / 1.366 GB, free: 2.715 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.354, allocations: 29.7 kB / 1.366 GB, free: 2.68 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/1.354, allocations: 80.14 kB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/1.354, allocations: 0 / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/1.354, allocations: 0 / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.354, allocations: 318.5 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-06/1.354, allocations: 0 / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/1.354, allocations: 0 / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/1.354, allocations: 75.28 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-05/1.354, allocations: 79.22 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.952e-05/1.354, allocations: 33.69 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/1.354, allocations: 79.28 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/1.354, allocations: 83.16 kB / 1.367 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.969e-05/1.354, allocations: 158.6 kB / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/1.354, allocations: 79.22 kB / 1.367 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.318e-05/1.354, allocations: 153.7 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/1.354, allocations: 80.02 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/1.354, allocations: 83.22 kB / 1.368 GB, free: 1.387 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.0001299/1.355, allocations: 259.5 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/1.355, allocations: 101 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/1.355, allocations: 119.6 kB / 1.368 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-05/1.355, allocations: 176.3 kB / 1.368 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-05/1.355, allocations: 180.3 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.601e-05/1.355, allocations: 184.2 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/1.355, allocations: 408.6 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.99e-05/1.355, allocations: 104.9 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/1.355, allocations: 105 kB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-05/1.355, allocations: 180.3 kB / 1.369 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-05/1.355, allocations: 180.2 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.197e-05/1.355, allocations: 176.3 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-05/1.356, allocations: 187.7 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/1.356, allocations: 304.7 kB / 1.37 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/1.356, allocations: 189.4 kB / 1.37 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/1.356, allocations: 180.3 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/1.356, allocations: 108.9 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/1.356, allocations: 180.2 kB / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/1.356, allocations: 106.2 kB / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.759e-05/1.356, allocations: 82.78 kB / 1.371 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.356, allocations: 0 / 1.371 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002458/1.356, allocations: 0 / 1.371 GB, free: 13.75 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.0004557/1.357, allocations: 0.8119 MB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.882e-05/1.357, allocations: 4 kB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.357, allocations: 0 / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-06/1.357, allocations: 3.938 kB / 1.372 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/1.357, allocations: 0.5215 MB / 1.372 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/1.358, allocations: 149.9 kB / 1.373 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/1.358, allocations: 0.6794 MB / 1.373 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.041e-05/1.358, allocations: 0 / 1.373 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/1.358, allocations: 7.438 kB / 1.373 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.358, allocations: 0 / 1.373 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/1.37, allocations: 0.7429 MB / 1.374 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.37, allocations: 167.5 kB / 1.374 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/2.797, allocations: 1.25 kB / 1.374 GB, free: 10.69 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat