Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.0009931/0.0009931, allocations: 92.39 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.001197/0.001197, 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.456/1.456, allocations: 223.2 MB / 240 MB, free: 5.297 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.426/2.426, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004188, allocations: 15.98 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6762, allocations: 142.3 MB / 0.9539 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.000715/0.6769, allocations: 426.9 kB / 0.9543 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.6776, allocations: 0.7967 MB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.6777, allocations: 1.594 kB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.6777, allocations: 3.938 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.6778, allocations: 11.92 kB / 0.9551 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.526e-05/0.6779, allocations: 5.906 kB / 0.9551 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.6779, allocations: 38.56 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.678, allocations: 8.344 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.6781, allocations: 17.8 kB / 0.9551 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.6781, allocations: 17.3 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.6782, allocations: 1.156 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.6782, allocations: 2.406 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.6782, allocations: 13.28 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.6782, allocations: 31.77 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.223e-05/0.6783, allocations: 28.69 kB / 0.9552 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6783, allocations: 1.281 kB / 0.9552 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6783, allocations: 0 / 0.9552 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.6783, allocations: 0 / 0.9552 GB, free: 6.934 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.0004039/0.6787, allocations: 368.1 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6788, allocations: 10.19 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.6788, allocations: 30.56 kB / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.6788, allocations: 10.3 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.517e-05/0.6789, allocations: 173.3 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.6789, allocations: 1.219 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.6789, allocations: 1.375 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.6792, allocations: 84.62 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.6792, allocations: 0.9688 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.6792, allocations: 0 / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6792, allocations: 1.688 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.6795, allocations: 90.25 kB / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.6798, allocations: 270.2 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.68, allocations: 66.97 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.6801, allocations: 48.7 kB / 0.9563 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.6802, allocations: 1.438 kB / 0.9563 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.6802, allocations: 34.56 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6802, allocations: 1.469 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004864/0.6807, allocations: 166.2 kB / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.6807, allocations: 52.88 kB / 0.9566 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.6808, allocations: 106.7 kB / 0.9567 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.6808, allocations: 25.7 kB / 0.9567 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.6808, allocations: 89.89 kB / 0.9568 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.6808, allocations: 17.23 kB / 0.9568 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.6808, allocations: 0 / 0.9568 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.6809, allocations: 320.8 kB / 0.9571 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.681, allocations: 38.78 kB / 0.9572 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.6812, allocations: 47.23 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.6813, allocations: 39.38 kB / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6813, allocations: 0 / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002931/0.6816, allocations: 117.5 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6816, allocations: 13.33 kB / 0.9574 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6816, allocations: 4.047 kB / 0.9574 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6816, allocations: 7.938 kB / 0.9574 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.6818, allocations: 19.39 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6818, allocations: 1 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.6819, allocations: 19.3 kB / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.6819, allocations: 1.062 kB / 0.9574 GB, free: 4.953 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 4.878e-05/0.6819, allocations: 120 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.682, allocations: 5.219 kB / 0.9575 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.6823, allocations: 136.1 kB / 0.9577 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6823, allocations: 5.078 kB / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6823, allocations: 0 / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.6823, allocations: 0 / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.6825, allocations: 165.6 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6825, allocations: 1.062 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.6826, allocations: 22.48 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6826, allocations: 5.078 kB / 0.9578 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6826, allocations: 4 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6826, allocations: 1 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6826, allocations: 3.953 kB / 0.9579 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.6829, allocations: 212.4 kB / 0.9581 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.6829, allocations: 85.95 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.683, allocations: 0.9375 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6831, allocations: 24 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.6831, allocations: 1.344 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.6831, allocations: 5.297 kB / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.6832, allocations: 88.95 kB / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6832, allocations: 0 / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002261/0.6834, allocations: 10.5 kB / 0.9583 GB, free: 4.145 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.000499/0.6839, allocations: 0.747 MB / 0.959 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.6842, allocations: 89.64 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6842, allocations: 1.469 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.6844, allocations: 46.41 kB / 0.9591 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.6847, allocations: 9.266 kB / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.6851, allocations: 168.3 kB / 0.9593 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/0.6852, allocations: 0.6847 MB / 0.96 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.6852, allocations: 1.156 kB / 0.96 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.6852, allocations: 17.73 kB / 0.96 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.6852, allocations: 0 / 0.96 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.6962, allocations: 1.293 MB / 0.9612 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/0.6964, allocations: 186.8 kB / 0.9614 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.435, allocations: 1.281 kB / 0.9614 GB, free: 1.652 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat does not exist to compare? outputFormat=mat