Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.386/2.386, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001384/0.001385, allocations: 180 kB / 0.4901 GB, free: 2.215 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.587/1.587, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.001104/0.001104, allocations: 99.95 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.000424, allocations: 14.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2715, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.4579, allocations: 149.6 MB / 1.375 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.4583, allocations: 71.95 kB / 1.375 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005561/0.4638, allocations: 1.415 MB / 1.377 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4639, allocations: 0 / 1.377 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.4639, allocations: 0 / 1.377 GB, free: 2.234 MB / 0.8698 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.0006547/0.4646, allocations: 371.2 kB / 1.377 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.562e-05/0.4647, allocations: 12.56 kB / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.4647, allocations: 34.56 kB / 1.377 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.4648, allocations: 0 / 1.377 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.465, allocations: 178.9 kB / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.465, allocations: 0 / 1.377 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.465, allocations: 8 kB / 1.377 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.4654, allocations: 73.66 kB / 1.377 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4654, allocations: 0 / 1.377 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4654, allocations: 4 kB / 1.377 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4654, allocations: 3.938 kB / 1.378 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.4659, allocations: 83.92 kB / 1.378 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.4666, allocations: 308.9 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.4669, allocations: 76.16 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4669, allocations: 0 / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.467, allocations: 30.56 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.467, allocations: 3.938 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0008094/0.4678, allocations: 169.6 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.4679, allocations: 59.3 kB / 1.378 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.468, allocations: 101 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.468, allocations: 25.7 kB / 1.378 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.4681, allocations: 88.08 kB / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.4681, allocations: 11.91 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.4681, allocations: 0 / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4683, allocations: 318.8 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.4685, allocations: 39.97 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.4688, allocations: 47.95 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.469, allocations: 44.05 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.469, allocations: 0 / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000519/0.4696, allocations: 121.8 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4696, allocations: 8 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4696, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4697, allocations: 4.031 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.4699, allocations: 27.91 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4699, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4701, allocations: 23.94 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4701, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 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 () * Number of clocked 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.62e-05/0.4702, allocations: 113.8 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.4702, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.4703, allocations: 7.906 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4703, allocations: 4 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4703, allocations: 3.984 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4703, allocations: 4 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.4706, allocations: 165.6 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4706, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.4708, allocations: 19.98 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4708, allocations: 3.938 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4708, allocations: 4 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4708, allocations: 3.984 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4708, allocations: 0 / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.4714, allocations: 223.3 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.4715, allocations: 81.11 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.4715, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.4717, allocations: 23.97 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.4718, allocations: 0 / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.4718, allocations: 4 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.4718, allocations: 91.27 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4719, allocations: 0 / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003752/0.4722, allocations: 11.94 kB / 1.38 GB, free: 14.94 MB / 0.8855 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 () * Number of clocked 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.0009323/0.4732, allocations: 0.7522 MB / 1.38 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.4737, allocations: 91.86 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4737, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.4739, allocations: 47.97 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4743, allocations: 8 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.4749, allocations: 166 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4752, allocations: 0.6848 MB / 1.381 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.4753, allocations: 0 / 1.381 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.4754, allocations: 19.38 kB / 1.381 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.4754, allocations: 0 / 1.381 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.4921, allocations: 1.319 MB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/0.4924, allocations: 190.3 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.089, allocations: 0 / 1.383 GB, free: 11.66 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat does not exist to compare? outputFormat=mat