Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.0009074/0.0009074, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009444/0.0009444, allocations: 173.3 kB / 23.03 MB, free: 1.543 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.9104/0.9104, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.106/2.106, allocations: 429.5 MB / 0.6733 GB, free: 4.062 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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.629e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.071e-05/5.533e-05, allocations: 9.125 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002796/0.002851, allocations: 0.6748 MB / 0.8788 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.00507, allocations: 1.234 MB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.005141, allocations: 1.094 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.516e-05/0.005186, allocations: 3.938 kB / 0.8801 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.00531, allocations: 20.84 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.00622, allocations: 209.7 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.006581, allocations: 171.7 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.006724, allocations: 15.91 kB / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.006926, allocations: 87.94 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.007084, allocations: 55.84 kB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.00713, allocations: 17.59 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.007247, allocations: 23.98 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.007282, allocations: 11.98 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.00737, allocations: 43.91 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.007685, allocations: 139.7 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.007697, allocations: 2.062 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.308e-06/0.007701, allocations: 0 / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.007712, allocations: 0 / 0.8808 GB, free: 3.625 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.0007236/0.008436, allocations: 463.8 kB / 0.8813 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/0.008502, allocations: 12.03 kB / 0.8813 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.008613, allocations: 23.34 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.008773, allocations: 112.6 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.008806, allocations: 4.375 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.008837, allocations: 12.31 kB / 0.8814 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.008973, allocations: 50.17 kB / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.008983, allocations: 192 / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.008998, allocations: 384 / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.009013, allocations: 5.094 kB / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.009051, allocations: 7.938 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.009671, allocations: 333.3 kB / 0.8818 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.009812, allocations: 42.98 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.009844, allocations: 11.69 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.009856, allocations: 1.344 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.01003, allocations: 93.03 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 3.878e-06/0.01004, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003068/0.01034, allocations: 97.56 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.0104, allocations: 55.41 kB / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.01058, allocations: 177.9 kB / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.01062, allocations: 33.7 kB / 0.8823 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01073, allocations: 134.8 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.01075, allocations: 15.94 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.01086, allocations: 51.34 kB / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.01103, allocations: 0.4923 MB / 0.883 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.0112, allocations: 111.4 kB / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01138, allocations: 165.7 kB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.01159, allocations: 157.8 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.01159, allocations: 4 kB / 0.8834 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005254/0.01212, allocations: 320.2 kB / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/0.01219, allocations: 67.39 kB / 0.8837 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.0122, allocations: 4 kB / 0.8837 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.01223, allocations: 0 / 0.8837 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-05/0.01226, allocations: 4.125 kB / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01226, allocations: 4 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.01255, allocations: 47.91 kB / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.01259, allocations: 11.98 kB / 0.8838 GB, free: 228 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,nand1.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 0.0001426/0.01273, allocations: 172.5 kB / 0.884 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.01276, allocations: 7.938 kB / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.01281, allocations: 8.438 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.01281, allocations: 4 kB / 0.884 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01282, allocations: 4 kB / 0.884 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01283, allocations: 3.938 kB / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.01298, allocations: 128.6 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01299, allocations: 0 / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.013, allocations: 4 kB / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.01301, allocations: 0 / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01302, allocations: 7.938 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01303, allocations: 0 / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01303, allocations: 0 / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.01322, allocations: 128.6 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.01323, allocations: 3.953 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01325, allocations: 11.92 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.34e-05/0.01329, allocations: 8 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.01335, allocations: 0 / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01336, allocations: 7.984 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.794e-05/0.01345, allocations: 131.2 kB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01345, allocations: 0 / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003283/0.01378, allocations: 31.98 kB / 0.8844 GB, free: 15.5 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,nand1.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.0002374/0.01402, allocations: 99.25 kB / 0.8845 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.01447, allocations: 282 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.01448, allocations: 0 / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.01454, allocations: 31.61 kB / 0.8848 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01486, allocations: 17.42 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.01537, allocations: 154.8 kB / 0.885 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.01543, allocations: 60.97 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.01547, allocations: 7.859 kB / 0.8851 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.01551, allocations: 16.62 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/0.01551, allocations: 0 / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.005769/0.02128, allocations: 2.246 MB / 0.8873 GB, free: 12.56 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.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.458698600996286]