Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9041/0.9041, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.285e-05, allocations: 2.281 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001617/0.001639, allocations: 0.7229 MB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.002902, allocations: 1.283 MB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.002953, allocations: 0 / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.002986, allocations: 11.86 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.763e-05/0.003063, allocations: 23.8 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.003577, allocations: 250.5 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.003774, allocations: 247.5 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.003882, allocations: 20.25 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.004004, allocations: 135.8 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.004125, allocations: 87.78 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.004154, allocations: 20 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.004217, allocations: 35.98 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.004246, allocations: 27.91 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.004325, allocations: 83.84 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.004538, allocations: 267.3 kB / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00454, allocations: 0 / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.004542, allocations: 3.984 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.004547, allocations: 0 / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000509/0.005056, allocations: 421.4 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.005094, allocations: 8.031 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.005124, allocations: 38.73 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.005172, allocations: 20.84 kB / 0.9846 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.005525, allocations: 197.8 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.00555, allocations: 16.38 kB / 0.9848 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.005578, allocations: 20.36 kB / 0.9848 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.00576, allocations: 131.8 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005768, allocations: 192 / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.005783, allocations: 8.359 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005789, allocations: 3.938 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.541e-05/0.005885, allocations: 63.89 kB / 0.985 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.006424, allocations: 455.9 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.006627, allocations: 141.1 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.00669, allocations: 53.69 kB / 0.9856 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.006702, allocations: 160 / 0.9856 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.006996, allocations: 216.8 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.006998, allocations: 3.938 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=22): time 0.0004223/0.00742, allocations: 320.2 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.007475, allocations: 85.11 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.007562, allocations: 130 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.007595, allocations: 37.7 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.007652, allocations: 100.6 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.007686, allocations: 51.62 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.007766, allocations: 69.69 kB / 0.9866 GB, free: 12.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.007863, allocations: 326.8 kB / 0.9869 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.008015, allocations: 151.6 kB / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.008179, allocations: 220.1 kB / 0.9872 GB, free: 11.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.008379, allocations: 245.7 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.008384, allocations: 4 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003707/0.008754, allocations: 420.5 kB / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.008796, allocations: 71.33 kB / 0.9879 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.008803, allocations: 4 kB / 0.9879 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.008818, allocations: 0 / 0.9879 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.008884, allocations: 19.92 kB / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.00889, allocations: 4 kB / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.009062, allocations: 75.94 kB / 0.988 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.009085, allocations: 23.98 kB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.009188, allocations: 143.8 kB / 0.9882 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.009204, allocations: 11.95 kB / 0.9882 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.009236, allocations: 12.44 kB / 0.9882 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.009239, allocations: 7.938 kB / 0.9882 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.009244, allocations: 3.984 kB / 0.9882 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.009248, allocations: 11.92 kB / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.009646, allocations: 0.5749 MB / 0.9888 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009647, allocations: 0 / 0.9888 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.009673, allocations: 11.92 kB / 0.9888 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009676, allocations: 4 kB / 0.9888 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.009689, allocations: 7.984 kB / 0.9888 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.009692, allocations: 3.938 kB / 0.9888 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009694, allocations: 4 kB / 0.9888 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.01005, allocations: 424.7 kB / 0.9892 GB, free: 9.621 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.01006, allocations: 19.84 kB / 0.9893 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01008, allocations: 8 kB / 0.9893 GB, free: 9.594 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.01016, allocations: 15.98 kB / 0.9893 GB, free: 9.578 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.01022, allocations: 31.83 kB / 0.9893 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.01023, allocations: 15.98 kB / 0.9893 GB, free: 9.531 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.01027, allocations: 96.39 kB / 0.9894 GB, free: 9.438 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01027, allocations: 0 / 0.9894 GB, free: 9.438 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002297/0.0105, allocations: 55.98 kB / 0.9895 GB, free: 9.383 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000569/0.01107, allocations: 0.9615 MB / 0.9904 GB, free: 8.395 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.01145, allocations: 391.7 kB / 0.9908 GB, free: 7.977 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01145, allocations: 96 / 0.9908 GB, free: 7.977 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.01155, allocations: 87.83 kB / 0.9909 GB, free: 7.891 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.01181, allocations: 23.97 kB / 0.9909 GB, free: 7.867 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.01363, allocations: 2.538 MB / 0.9934 GB, free: 5.137 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.27e-05/0.01369, allocations: 97.02 kB / 0.9935 GB, free: 5.023 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.01374, allocations: 21.42 kB / 0.9935 GB, free: 5.004 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.01379, allocations: 40.48 kB / 0.9935 GB, free: 4.965 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01379, allocations: 0 / 0.9935 GB, free: 4.965 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.03214, allocations: 5.053 MB / 0.9985 GB, free: 112 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.972, allocations: 8.047 kB / 0.9985 GB, free: 104 kB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.033104442059994]