Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_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.0009194/0.0009197, allocations: 92.16 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.00107/0.00107, 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.502/1.502, allocations: 223.2 MB / 240 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.57/2.57, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.83, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0009671/0.831, allocations: 327.9 kB / 0.9815 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.8326, allocations: 1.084 MB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.8327, allocations: 0 / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.8327, allocations: 4 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.8328, allocations: 3.938 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.8332, allocations: 106.7 kB / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.8333, allocations: 67.89 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.8334, allocations: 8 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.8335, allocations: 35.89 kB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.8336, allocations: 19.97 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.8336, allocations: 4 kB / 0.9827 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.8337, allocations: 15.98 kB / 0.9828 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.8337, allocations: 11.88 kB / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.8338, allocations: 33.7 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.8339, allocations: 51.86 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8339, allocations: 0 / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8339, allocations: 4 kB / 0.9829 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.8339, allocations: 4 kB / 0.9829 GB, free: 4.473 MB / 0.7325 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.0004612/0.8344, allocations: 359.3 kB / 0.9832 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.8344, allocations: 12.03 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.8345, allocations: 30.56 kB / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.8345, allocations: 4 kB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8347, allocations: 174.9 kB / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.8347, allocations: 4 kB / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.8347, allocations: 4 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.8349, allocations: 49.53 kB / 0.9835 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8349, allocations: 3.984 kB / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.8349, allocations: 4 kB / 0.9835 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8349, allocations: 0 / 0.9835 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.8349, allocations: 0 / 0.9835 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.8354, allocations: 284.9 kB / 0.9838 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.8355, allocations: 22.53 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.8355, allocations: 16.8 kB / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.8355, allocations: 0 / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.8357, allocations: 59.45 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.8357, allocations: 0 / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002675/0.836, allocations: 65.67 kB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.836, allocations: 55.34 kB / 0.984 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.8361, allocations: 105.8 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.8361, allocations: 29.7 kB / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.8362, allocations: 92.05 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.8362, allocations: 0 / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.8362, allocations: 4 kB / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8364, allocations: 310.8 kB / 0.9845 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.8365, allocations: 31.98 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.8366, allocations: 46.55 kB / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.951e-05/0.8367, allocations: 61.88 kB / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8368, allocations: 0 / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003126/0.8371, allocations: 159.1 kB / 0.9848 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.8372, allocations: 29.7 kB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8372, allocations: 4 kB / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8372, allocations: 0 / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.507e-05/0.8372, allocations: 0 / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.8372, allocations: 0 / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.8375, allocations: 51.98 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.8376, allocations: 4 kB / 0.9849 GB, free: 2.176 MB / 0.7325 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 0.0001356/0.8377, allocations: 109.8 kB / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.8377, allocations: 7.953 kB / 0.985 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.8378, allocations: 15.89 kB / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8378, allocations: 0 / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8378, allocations: 0 / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8378, allocations: 0 / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.838, allocations: 161.7 kB / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8381, allocations: 0 / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.8381, allocations: 320 / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.8381, allocations: 3.953 kB / 0.9851 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.8381, allocations: 3.984 kB / 0.9851 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.8381, allocations: 11.94 kB / 0.9852 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8381, allocations: 0 / 0.9852 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.8383, allocations: 84.97 kB / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.8384, allocations: 77.11 kB / 0.9853 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.8384, allocations: 7.953 kB / 0.9853 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.8384, allocations: 0 / 0.9853 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.8384, allocations: 3.984 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.8385, allocations: 4 kB / 0.9853 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.8385, allocations: 83.28 kB / 0.9854 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8385, allocations: 0 / 0.9854 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002331/0.8388, allocations: 16 kB / 0.9854 GB, free: 1.496 MB / 0.7325 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.0005602/0.8393, allocations: 0.6202 MB / 0.986 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.8397, allocations: 119.3 kB / 0.9861 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8397, allocations: 0 / 0.9861 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.8398, allocations: 24.11 kB / 0.9862 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.84, allocations: 14.03 kB / 0.9862 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.8412, allocations: 494.1 kB / 0.9866 GB, free: 152 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.8418, allocations: 0.6809 MB / 0.9873 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.8419, allocations: 4 kB / 0.9873 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.47e-05/0.8419, allocations: 11.44 kB / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.8419, allocations: 0 / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.8563, allocations: 1.723 MB / 0.989 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.8566, allocations: 201.2 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.691, allocations: 0 / 0.9892 GB, free: 13.61 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat does not exist to compare? outputFormat=mat