Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.0009804/0.0009805, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.001086/0.001086, allocations: 177.3 kB / 15.94 MB, free: 228 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.554/2.554, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 16 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7377, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008006/0.7385, allocations: 319.1 kB / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.7398, allocations: 1.066 MB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.7399, allocations: 0 / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.7399, allocations: 7.938 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.74, allocations: 9.141 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.7405, allocations: 105.3 kB / 0.9551 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.7406, allocations: 44.31 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.7407, allocations: 11.14 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.7407, allocations: 23.17 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.7408, allocations: 23.28 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.7408, allocations: 4.344 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.7409, allocations: 21.83 kB / 0.9552 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.7409, allocations: 6.016 kB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.741, allocations: 31.58 kB / 0.9552 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.7411, allocations: 53.25 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.7411, allocations: 0 / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7411, allocations: 0.8438 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.7411, allocations: 0 / 0.9553 GB, free: 6.777 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003238/0.7415, allocations: 357.9 kB / 0.9556 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.7415, allocations: 13.14 kB / 0.9556 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.7415, allocations: 35.97 kB / 0.9557 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.7416, allocations: 11.83 kB / 0.9557 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.021e-05/0.7417, allocations: 164.6 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.7417, allocations: 2.531 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.7417, allocations: 9.406 kB / 0.9558 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.7418, allocations: 34.44 kB / 0.9559 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.7418, allocations: 0 / 0.9559 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.7418, allocations: 3.984 kB / 0.9559 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7418, allocations: 1.344 kB / 0.9559 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.7418, allocations: 10.39 kB / 0.9559 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.7421, allocations: 294.3 kB / 0.9562 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.7422, allocations: 22.02 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.7422, allocations: 0 / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.7423, allocations: 63.39 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.7423, allocations: 0 / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001603/0.7425, allocations: 70.7 kB / 0.9563 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.7426, allocations: 53 kB / 0.9564 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/0.7426, allocations: 112.6 kB / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.7426, allocations: 28.23 kB / 0.9565 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.7427, allocations: 94.97 kB / 0.9566 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.7427, allocations: 0.9688 kB / 0.9566 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.7427, allocations: 1.469 kB / 0.9566 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.7428, allocations: 320.3 kB / 0.9569 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.7428, allocations: 31.83 kB / 0.9569 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.7429, allocations: 42.28 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.7429, allocations: 61.81 kB / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.743, allocations: 0 / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001908/0.7432, allocations: 146.1 kB / 0.9572 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.7432, allocations: 31.86 kB / 0.9572 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7432, allocations: 9.266 kB / 0.9572 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7432, allocations: 5.078 kB / 0.9572 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.451e-05/0.7432, allocations: 1.5 kB / 0.9572 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.7432, allocations: 1.375 kB / 0.9572 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.7435, allocations: 37.88 kB / 0.9572 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.7435, allocations: 4.219 kB / 0.9573 GB, free: 4.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.113e-05/0.7436, allocations: 119.3 kB / 0.9574 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.7436, allocations: 5.125 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.7436, allocations: 5.25 kB / 0.9574 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7436, allocations: 0 / 0.9574 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7436, allocations: 5.609 kB / 0.9574 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7436, allocations: 0 / 0.9574 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.426e-05/0.7437, allocations: 158.5 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7437, allocations: 1.156 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.7437, allocations: 0 / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.7438, allocations: 5.312 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7438, allocations: 0 / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7438, allocations: 4.969 kB / 0.9575 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7438, allocations: 0 / 0.9575 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.376e-05/0.7439, allocations: 84.06 kB / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.7439, allocations: 77.11 kB / 0.9577 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7439, allocations: 5.375 kB / 0.9577 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.547e-05/0.7439, allocations: 5.234 kB / 0.9577 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.744, allocations: 5.031 kB / 0.9577 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.744, allocations: 9.312 kB / 0.9577 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.744, allocations: 91.91 kB / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.744, allocations: 1.25 kB / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.7442, allocations: 14 kB / 0.9578 GB, free: 4.105 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002928/0.7445, allocations: 0.625 MB / 0.9584 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.7447, allocations: 114.5 kB / 0.9585 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7447, allocations: 0 / 0.9585 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.7447, allocations: 17.06 kB / 0.9586 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.7449, allocations: 11.25 kB / 0.9586 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.7454, allocations: 0.6324 MB / 0.9592 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.7455, allocations: 0.6798 MB / 0.9599 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.7455, allocations: 6.094 kB / 0.9599 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.7455, allocations: 17.42 kB / 0.9599 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.7455, allocations: 0 / 0.9599 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.7583, allocations: 1.683 MB / 0.9615 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.7585, allocations: 186.8 kB / 0.9617 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.428, allocations: 6 kB / 0.9617 GB, free: 0.9648 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat does not exist to compare? outputFormat=mat