Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.000975/0.000975, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001029/0.001029, allocations: 165 kB / 23.82 MB, free: 0.75 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.9463/0.9463, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.888/1.888, allocations: 377.8 MB / 0.6236 GB, free: 8.508 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.7656 kB / 0.8116 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.292e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001465/0.001488, allocations: 0.7829 MB / 0.8123 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.002913, allocations: 1.304 MB / 0.8136 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.002968, allocations: 0 / 0.8136 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.003011, allocations: 11.86 kB / 0.8136 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.00309, allocations: 17.5 kB / 0.8136 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.003627, allocations: 248.6 kB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.003857, allocations: 255.6 kB / 0.8141 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.003994, allocations: 45.73 kB / 0.8141 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004134, allocations: 147.8 kB / 0.8143 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.00427, allocations: 89.08 kB / 0.8144 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.004306, allocations: 24 kB / 0.8144 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.004379, allocations: 43.91 kB / 0.8144 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.004416, allocations: 36.58 kB / 0.8145 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.842e-05/0.004494, allocations: 75.86 kB / 0.8145 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.004713, allocations: 204.4 kB / 0.8147 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.004715, allocations: 0 / 0.8147 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004715, allocations: 0 / 0.8147 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.00472, allocations: 0.6562 kB / 0.8147 GB, free: 13.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005068/0.005227, allocations: 0.516 MB / 0.8152 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.005267, allocations: 8.031 kB / 0.8153 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.005335, allocations: 32.88 kB / 0.8153 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.005663, allocations: 173.4 kB / 0.8154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.005681, allocations: 12.38 kB / 0.8155 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.005712, allocations: 25.39 kB / 0.8155 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.005869, allocations: 107.7 kB / 0.8156 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.00588, allocations: 192 / 0.8156 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.005896, allocations: 13.98 kB / 0.8156 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.005906, allocations: 12.06 kB / 0.8156 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.00598, allocations: 47.97 kB / 0.8157 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.006414, allocations: 416.8 kB / 0.8161 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.006533, allocations: 79.02 kB / 0.8161 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.006569, allocations: 31.67 kB / 0.8162 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.006574, allocations: 1.75 kB / 0.8162 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.006728, allocations: 140.9 kB / 0.8163 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.006729, allocations: 3.938 kB / 0.8163 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003093/0.007039, allocations: 222.7 kB / 0.8165 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.007088, allocations: 63.33 kB / 0.8166 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.007187, allocations: 205.1 kB / 0.8168 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.00721, allocations: 39.77 kB / 0.8168 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.007275, allocations: 155.3 kB / 0.817 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.007295, allocations: 35.69 kB / 0.817 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.00737, allocations: 75.33 kB / 0.8171 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.007481, allocations: 0.4962 MB / 0.8175 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.007591, allocations: 119.4 kB / 0.8177 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.007729, allocations: 201.1 kB / 0.8178 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.007897, allocations: 229 kB / 0.8181 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.007899, allocations: 0.625 kB / 0.8181 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003265/0.008226, allocations: 369.8 kB / 0.8184 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.008263, allocations: 69.7 kB / 0.8185 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.008269, allocations: 5.375 kB / 0.8185 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.008285, allocations: 3.938 kB / 0.8185 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.73e-05/0.008302, allocations: 7.938 kB / 0.8185 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.008307, allocations: 4 kB / 0.8185 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.008449, allocations: 57.59 kB / 0.8186 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.008469, allocations: 15.98 kB / 0.8186 GB, free: 9.023 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 8.67e-05/0.008555, allocations: 182.9 kB / 0.8188 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.008575, allocations: 23.89 kB / 0.8188 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.008607, allocations: 9.75 kB / 0.8188 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.00861, allocations: 7.938 kB / 0.8188 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.008613, allocations: 2.312 kB / 0.8188 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.008617, allocations: 3.984 kB / 0.8188 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.008908, allocations: 463.9 kB / 0.8192 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008909, allocations: 3.938 kB / 0.8192 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-06/0.008915, allocations: 0 / 0.8192 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.008916, allocations: 0 / 0.8192 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.008928, allocations: 19.33 kB / 0.8193 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.00893, allocations: 0 / 0.8193 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00893, allocations: 0 / 0.8193 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.009131, allocations: 335.7 kB / 0.8196 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.009141, allocations: 11.91 kB / 0.8196 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.009156, allocations: 11.92 kB / 0.8196 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.009189, allocations: 4 kB / 0.8196 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.009227, allocations: 11.97 kB / 0.8196 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.009245, allocations: 15.98 kB / 0.8196 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.009289, allocations: 140.1 kB / 0.8198 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009289, allocations: 0 / 0.8198 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001926/0.009482, allocations: 43.94 kB / 0.8198 GB, free: 7.695 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * 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.0001135/0.009595, allocations: 112.8 kB / 0.8199 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.009883, allocations: 324.3 kB / 0.8202 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009884, allocations: 0.7812 kB / 0.8202 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/0.009947, allocations: 74.23 kB / 0.8203 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01016, allocations: 25.34 kB / 0.8203 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.01051, allocations: 259.6 kB / 0.8206 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.01055, allocations: 76.34 kB / 0.8206 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.01058, allocations: 10.28 kB / 0.8207 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.0106, allocations: 16.47 kB / 0.8207 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/0.0106, allocations: 0 / 0.8207 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.004419/0.01502, allocations: 2.343 MB / 0.823 GB, free: 4.461 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.188991014845669]