Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001553/0.001553, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 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.001857/0.001857, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.038/1.038, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.156/2.156, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.384e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001545/0.001579, allocations: 0.6712 MB / 0.8788 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.002917, allocations: 1.243 MB / 0.8801 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.002963, allocations: 0 / 0.8801 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.002997, allocations: 3.938 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.003075, allocations: 8.906 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.003608, allocations: 211.4 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.003805, allocations: 172.5 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003917, allocations: 9.094 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004038, allocations: 95.91 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.004156, allocations: 51.84 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.004188, allocations: 17.06 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.004261, allocations: 24 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.004288, allocations: 11.97 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.004359, allocations: 53.03 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.004566, allocations: 131.7 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.004569, allocations: 0 / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.00457, allocations: 1 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.004576, allocations: 0 / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000485/0.005061, allocations: 471.8 kB / 0.8813 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.005102, allocations: 12.59 kB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.005163, allocations: 13.64 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.005259, allocations: 116.5 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.005276, allocations: 9.594 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.005304, allocations: 16.36 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.005409, allocations: 42.25 kB / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005419, allocations: 192 / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.005431, allocations: 5.172 kB / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.005439, allocations: 384 / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.005463, allocations: 8.469 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.005858, allocations: 336.7 kB / 0.8818 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.005934, allocations: 35.05 kB / 0.8818 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.005958, allocations: 16.34 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.005966, allocations: 0 / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.006084, allocations: 89.84 kB / 0.8819 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.006085, allocations: 3.938 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002115/0.006296, allocations: 94.53 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.006338, allocations: 51.41 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.006433, allocations: 177.6 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.006456, allocations: 29.7 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.006517, allocations: 142.8 kB / 0.8824 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.006533, allocations: 15.94 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.006599, allocations: 55.34 kB / 0.8825 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.006716, allocations: 0.4884 MB / 0.883 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.006831, allocations: 107.4 kB / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.006948, allocations: 170.1 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.007082, allocations: 167 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007085, allocations: 0 / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000318/0.007403, allocations: 325.8 kB / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.007447, allocations: 67.39 kB / 0.8837 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.007453, allocations: 1.531 kB / 0.8838 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007467, allocations: 0 / 0.8838 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.007485, allocations: 4 kB / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.007492, allocations: 3.938 kB / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.007663, allocations: 48.03 kB / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.007682, allocations: 8 kB / 0.8838 GB, free: 236 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.577e-05/0.007768, allocations: 176.4 kB / 0.884 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.007781, allocations: 11.94 kB / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.007812, allocations: 8.438 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007814, allocations: 0 / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.007818, allocations: 0 / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007822, allocations: 0 / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.546e-05/0.007917, allocations: 132.6 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.00792, allocations: 7.984 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.007925, allocations: 0 / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007927, allocations: 0 / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007935, allocations: 7.938 kB / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007936, allocations: 0 / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.007939, allocations: 3.938 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.00805, allocations: 116.4 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.008059, allocations: 7.953 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.008072, allocations: 3.938 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.229e-05/0.008084, allocations: 0 / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.00812, allocations: 15.98 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.008125, allocations: 0 / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.008168, allocations: 131.2 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008168, allocations: 0 / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000165/0.008333, allocations: 32 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001347/0.008468, allocations: 103.2 kB / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.008726, allocations: 280.9 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008728, allocations: 0 / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.00876, allocations: 27.92 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.008947, allocations: 24.72 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.009251, allocations: 154.7 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.009282, allocations: 60.98 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.009306, allocations: 11.84 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.009327, allocations: 16.5 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/0.009328, allocations: 0 / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.003893/0.01322, allocations: 2.054 MB / 0.8871 GB, free: 12.76 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.678880308289081]