Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009348, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003812, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7724, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001261/0.7738, allocations: 430.3 kB / 0.9543 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.7752, allocations: 0.8536 MB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.7753, allocations: 0 / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.7754, allocations: 5.125 kB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.7755, allocations: 7.922 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.7757, allocations: 19.73 kB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.7758, allocations: 35.14 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.7759, allocations: 4 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.776, allocations: 17.7 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.776, allocations: 20.69 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.7761, allocations: 2.531 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.7761, allocations: 1.062 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.7761, allocations: 5.031 kB / 0.9552 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.7761, allocations: 36.17 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.041e-05/0.7762, allocations: 26.11 kB / 0.9553 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.7762, allocations: 4 kB / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7762, allocations: 3.938 kB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.7762, allocations: 0 / 0.9553 GB, free: 6.949 MB / 0.7169 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.0004837/0.7767, allocations: 372.5 kB / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.7768, allocations: 10.06 kB / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.7768, allocations: 35.94 kB / 0.9557 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.7769, allocations: 9.141 kB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/0.777, allocations: 161.2 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.777, allocations: 2.25 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.777, allocations: 1.219 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.7773, allocations: 89.17 kB / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7773, allocations: 0 / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.7773, allocations: 0 / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7773, allocations: 1.438 kB / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.7776, allocations: 85.55 kB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.7779, allocations: 266.8 kB / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.7782, allocations: 75.5 kB / 0.9564 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.7783, allocations: 48.86 kB / 0.9564 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.7783, allocations: 3.984 kB / 0.9564 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.7784, allocations: 31.78 kB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7784, allocations: 0 / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005139/0.7789, allocations: 163.5 kB / 0.9566 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.7789, allocations: 55.34 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.779, allocations: 108.1 kB / 0.9567 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.779, allocations: 25.7 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.7791, allocations: 90.53 kB / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.7791, allocations: 16.94 kB / 0.9569 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.7791, allocations: 3.938 kB / 0.9569 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.7792, allocations: 312.2 kB / 0.9572 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.7793, allocations: 46.89 kB / 0.9572 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.7794, allocations: 44.59 kB / 0.9573 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.7796, allocations: 46.31 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7796, allocations: 0 / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003036/0.7799, allocations: 116.9 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.7799, allocations: 6.906 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7799, allocations: 4 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.78, allocations: 4.953 kB / 0.9574 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.7801, allocations: 27.45 kB / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7801, allocations: 0 / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.7802, allocations: 20.12 kB / 0.9575 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.7802, allocations: 4 kB / 0.9575 GB, free: 4.961 MB / 0.7169 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 6.44e-05/0.7803, allocations: 112.9 kB / 0.9576 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.7803, allocations: 5 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.7803, allocations: 10.19 kB / 0.9576 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.7803, allocations: 3.953 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7804, allocations: 0 / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.7804, allocations: 1.094 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.7805, allocations: 169.2 kB / 0.9578 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.7805, allocations: 0 / 0.9578 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.7806, allocations: 31.98 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7806, allocations: 0 / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7806, allocations: 1.125 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7806, allocations: 0 / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7806, allocations: 5.141 kB / 0.9578 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.781, allocations: 215.1 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.781, allocations: 82.42 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.7811, allocations: 4.719 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.7812, allocations: 19.58 kB / 0.9581 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.7812, allocations: 6.203 kB / 0.9581 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.7812, allocations: 4.984 kB / 0.9581 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.7813, allocations: 85.53 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7813, allocations: 0 / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002183/0.7815, allocations: 5.75 kB / 0.9582 GB, free: 4.234 MB / 0.7169 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.0005538/0.7821, allocations: 0.7485 MB / 0.9589 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.7824, allocations: 93.23 kB / 0.959 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7824, allocations: 0 / 0.959 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.7825, allocations: 51.83 kB / 0.9591 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.7829, allocations: 15.34 kB / 0.9591 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.7833, allocations: 158 kB / 0.9592 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.7834, allocations: 0.6841 MB / 0.9599 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.7835, allocations: 1.469 kB / 0.9599 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.7835, allocations: 13.78 kB / 0.9599 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7835, allocations: 0 / 0.9599 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.7978, allocations: 1.339 MB / 0.9612 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.798, allocations: 188.3 kB / 0.9614 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.548, allocations: 8.75 kB / 0.9614 GB, free: 1.723 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat does not exist to compare? outputFormat=mat