Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 100 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.001456/0.001456, 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.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6496, allocations: 142.3 MB / 0.9535 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0006083/0.6503, allocations: 304.8 kB / 0.9538 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.983e-05/0.6503, allocations: 4 kB / 0.9538 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.6503, allocations: 1.281 kB / 0.9538 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.6504, allocations: 3.938 kB / 0.9538 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.246e-05/0.6504, allocations: 4 kB / 0.9538 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.418e-05/0.6504, allocations: 1.125 kB / 0.9538 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.547e-05/0.6505, allocations: 0 / 0.9538 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.6505, allocations: 0.9375 kB / 0.9538 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.288e-05/0.6505, allocations: 5.203 kB / 0.9538 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.72e-05/0.6506, allocations: 0 / 0.9538 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.6506, allocations: 0 / 0.9538 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-06/0.6506, allocations: 0.8438 kB / 0.9539 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.594e-06/0.6506, allocations: 0 / 0.9539 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.6506, allocations: 27.02 kB / 0.9539 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.375e-05/0.6506, allocations: 3.984 kB / 0.9539 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.6507, allocations: 4 kB / 0.9539 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6507, allocations: 0.875 kB / 0.9539 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.6507, allocations: 3.938 kB / 0.9539 GB, free: 7.863 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001667/0.6508, allocations: 314.8 kB / 0.9542 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.6509, allocations: 9.688 kB / 0.9542 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.6509, allocations: 7.938 kB / 0.9542 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.848e-05/0.651, allocations: 160.5 kB / 0.9544 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.651, allocations: 3.938 kB / 0.9544 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.651, allocations: 0 / 0.9544 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/0.6511, allocations: 32.3 kB / 0.9544 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.6511, allocations: 0 / 0.9544 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.6511, allocations: 0 / 0.9544 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6511, allocations: 1.312 kB / 0.9544 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.328e-05/0.6511, allocations: 4.891 kB / 0.9544 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.6513, allocations: 382.6 kB / 0.9548 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.933e-05/0.6514, allocations: 178.4 kB / 0.9549 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.6514, allocations: 75.28 kB / 0.955 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.6514, allocations: 111.1 kB / 0.9551 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.6514, allocations: 3.938 kB / 0.9551 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.405e-05/0.6515, allocations: 31.06 kB / 0.9551 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.6515, allocations: 134.6 kB / 0.9553 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.6516, allocations: 97.27 kB / 0.9554 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.6516, allocations: 25.7 kB / 0.9554 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.6516, allocations: 81.7 kB / 0.9555 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.6516, allocations: 0 / 0.9555 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.6516, allocations: 0 / 0.9555 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.6516, allocations: 316.5 kB / 0.9558 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-06/0.6517, allocations: 0 / 0.9558 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-06/0.6517, allocations: 0 / 0.9558 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.055e-05/0.6517, allocations: 79.41 kB / 0.9558 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6517, allocations: 75.28 kB / 0.9559 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.528e-05/0.6517, allocations: 32.12 kB / 0.9559 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6518, allocations: 81.88 kB / 0.956 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6518, allocations: 80.53 kB / 0.9561 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.6518, allocations: 151.8 kB / 0.9562 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.034e-05/0.6518, allocations: 80.53 kB / 0.9563 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.6519, allocations: 158.5 kB / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.6519, allocations: 80.53 kB / 0.9566 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.6519, allocations: 88.5 kB / 0.9566 GB, free: 4.867 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 (0): * Single equations (assignments): 0 * 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.579e-05/0.652, allocations: 261.7 kB / 0.9569 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.652, allocations: 102 kB / 0.957 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.652, allocations: 117 kB / 0.9571 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.6521, allocations: 181.6 kB / 0.9573 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/0.6521, allocations: 177.5 kB / 0.9574 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.6521, allocations: 189.6 kB / 0.9576 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.6522, allocations: 395.1 kB / 0.958 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6523, allocations: 106.3 kB / 0.9581 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.6523, allocations: 114.2 kB / 0.9582 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/0.6523, allocations: 177.5 kB / 0.9584 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.6523, allocations: 180.2 kB / 0.9585 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.6524, allocations: 177.6 kB / 0.9587 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.066e-05/0.6524, allocations: 181.4 kB / 0.9589 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.753e-05/0.6524, allocations: 315.7 kB / 0.9592 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.6525, allocations: 183.7 kB / 0.9594 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.6525, allocations: 181.6 kB / 0.9595 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.6526, allocations: 104.9 kB / 0.9596 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.6526, allocations: 189.5 kB / 0.9598 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6526, allocations: 106.4 kB / 0.9599 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.858e-05/0.6526, allocations: 81.75 kB / 0.96 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6527, allocations: 0 / 0.96 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002461/0.6529, allocations: 3.938 kB / 0.96 GB, free: 1.219 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 (0): * Single equations (assignments): 0 * 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 9.875e-05/0.653, allocations: 177.8 kB / 0.9602 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.661e-05/0.653, allocations: 0 / 0.9602 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.653, allocations: 5.25 kB / 0.9602 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.6531, allocations: 0 / 0.9602 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.6532, allocations: 0.5195 MB / 0.9607 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001357/0.6534, allocations: 157.2 kB / 0.9608 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.6536, allocations: 0.6832 MB / 0.9615 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.326e-06/0.6536, allocations: 0 / 0.9615 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.6536, allocations: 9.031 kB / 0.9615 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6536, allocations: 0 / 0.9615 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.001639/0.6552, allocations: 143.4 kB / 0.9616 GB, free: 15.56 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches