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.0008088/0.0008089, 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.0009529/0.0009529, 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.415/1.415, allocations: 223.2 MB / 240 MB, free: 5.434 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.486/2.486, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 16 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7252/0.7256, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0007651/0.7264, allocations: 319.6 kB / 0.9542 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.7278, allocations: 1.082 MB / 0.9552 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.7279, allocations: 1.188 kB / 0.9552 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.7279, allocations: 3.938 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.728, allocations: 13.05 kB / 0.9552 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.7286, allocations: 104.8 kB / 0.9553 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.7287, allocations: 62.98 kB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7288, allocations: 6.156 kB / 0.9554 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.7289, allocations: 36.23 kB / 0.9554 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.859e-05/0.729, allocations: 21.91 kB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.7291, allocations: 4.562 kB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.7292, allocations: 18.58 kB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.7292, allocations: 5.375 kB / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.7292, allocations: 32.77 kB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.7294, allocations: 56.67 kB / 0.9556 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7294, allocations: 5 kB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7294, allocations: 0 / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7294, allocations: 0 / 0.9556 GB, free: 6.719 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.0003452/0.7297, allocations: 362.6 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7298, allocations: 8.844 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.7298, allocations: 35.81 kB / 0.956 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.7299, allocations: 7.734 kB / 0.956 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.947e-05/0.73, allocations: 169 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.73, allocations: 10.56 kB / 0.9561 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.73, allocations: 4.094 kB / 0.9561 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.7301, allocations: 35.08 kB / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.7301, allocations: 0 / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.7301, allocations: 5.266 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7302, allocations: 0 / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.7302, allocations: 10.86 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.7305, allocations: 294.5 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.7306, allocations: 21.45 kB / 0.9565 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.7306, allocations: 7.891 kB / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.7306, allocations: 0 / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.7308, allocations: 58.67 kB / 0.9566 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7308, allocations: 4 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000184/0.731, allocations: 67.48 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.731, allocations: 56.83 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.7311, allocations: 100.9 kB / 0.9568 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.7311, allocations: 31.16 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.7311, allocations: 91.8 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.7312, allocations: 1.094 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.7312, allocations: 1.281 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.7312, allocations: 315.8 kB / 0.9572 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.7313, allocations: 31.2 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.7314, allocations: 47.42 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/0.7315, allocations: 57.45 kB / 0.9573 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7315, allocations: 0 / 0.9573 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002178/0.7317, allocations: 153.8 kB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.7317, allocations: 34.17 kB / 0.9575 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7317, allocations: 9.625 kB / 0.9575 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7318, allocations: 4.891 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.7318, allocations: 1.25 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.7318, allocations: 0.9375 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.732, allocations: 47.08 kB / 0.9576 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.7321, allocations: 8.906 kB / 0.9576 GB, free: 4.66 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 6.722e-05/0.7321, allocations: 115.4 kB / 0.9577 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.7321, allocations: 1.594 kB / 0.9577 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.7322, allocations: 9.25 kB / 0.9577 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7322, allocations: 7.938 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7322, allocations: 0 / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7322, allocations: 1.469 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.401e-05/0.7323, allocations: 155.4 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7323, allocations: 0 / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-06/0.7323, allocations: 4 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7323, allocations: 1.328 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.7323, allocations: 5.375 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7323, allocations: 3.984 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7323, allocations: 3.953 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.965e-05/0.7324, allocations: 82.52 kB / 0.9579 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.7325, allocations: 79.14 kB / 0.958 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.7325, allocations: 5.344 kB / 0.958 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.7325, allocations: 4 kB / 0.958 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.7325, allocations: 5.453 kB / 0.958 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.7325, allocations: 9.391 kB / 0.958 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.7326, allocations: 79.78 kB / 0.9581 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7326, allocations: 0 / 0.9581 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002252/0.7328, allocations: 14.94 kB / 0.9581 GB, free: 4.039 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.0002854/0.7331, allocations: 0.6211 MB / 0.9587 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.7333, allocations: 114.6 kB / 0.9589 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7333, allocations: 0 / 0.9589 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.7333, allocations: 19.55 kB / 0.9589 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.7335, allocations: 10.52 kB / 0.9589 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.7343, allocations: 0.4911 MB / 0.9594 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.7344, allocations: 0.6788 MB / 0.96 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.7344, allocations: 7.156 kB / 0.96 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.7345, allocations: 12.56 kB / 0.96 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7345, allocations: 4 kB / 0.96 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.7465, allocations: 1.716 MB / 0.9617 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.7467, allocations: 191.1 kB / 0.9619 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.553, allocations: 0 / 0.9619 GB, free: 1.105 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