Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001051/0.001051, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001147/0.001147, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9941/0.9941, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.93/1.93, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] 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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.985e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001966/0.001996, allocations: 0.6562 MB / 0.8134 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003174, allocations: 1.233 MB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.003218, allocations: 0 / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.003245, allocations: 8.547 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.003316, allocations: 13.34 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.003759, allocations: 208.6 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.003941, allocations: 175.7 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.004018, allocations: 4.625 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.004121, allocations: 99.91 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.004221, allocations: 56.75 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.004246, allocations: 12 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-05/0.004301, allocations: 24.66 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.004321, allocations: 11.98 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.00437, allocations: 48.7 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.004524, allocations: 131.7 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.004528, allocations: 1.25 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.372e-06/0.00453, allocations: 0 / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.004535, allocations: 0 / 0.8154 GB, free: 14.76 MB / 0.7761 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.0004219/0.004957, allocations: 467.8 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.004991, allocations: 10.03 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.005034, allocations: 16.89 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.005112, allocations: 128.4 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.005125, allocations: 4.375 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005143, allocations: 12.38 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.941e-05/0.005213, allocations: 47.16 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.00522, allocations: 192 / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.005227, allocations: 4.359 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005232, allocations: 1.906 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.005248, allocations: 11.94 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.005546, allocations: 312.2 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.005598, allocations: 32.03 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.005614, allocations: 15.77 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.005621, allocations: 4.75 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.115e-05/0.005712, allocations: 73.02 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005713, allocations: 0.9375 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001524/0.005865, allocations: 97.5 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.005897, allocations: 57.06 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.005973, allocations: 181.8 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.005993, allocations: 29.7 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.006047, allocations: 134.9 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.006059, allocations: 15.88 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.006123, allocations: 59.92 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.006238, allocations: 0.4891 MB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.006316, allocations: 99.36 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.251e-05/0.006408, allocations: 150.4 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.006514, allocations: 159.3 kB / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006515, allocations: 0 / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000262/0.006777, allocations: 301.6 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.006818, allocations: 72.52 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006822, allocations: 0 / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.006832, allocations: 4 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.387e-05/0.006846, allocations: 0 / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.006853, allocations: 12.77 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.007001, allocations: 34.47 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.007021, allocations: 11.98 kB / 0.8183 GB, free: 11.45 MB / 0.7761 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 7.636e-05/0.007097, allocations: 170.8 kB / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.00711, allocations: 11.95 kB / 0.8185 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.007132, allocations: 13.72 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007133, allocations: 0 / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.007136, allocations: 3.984 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007139, allocations: 4.656 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.171e-05/0.00721, allocations: 113.2 kB / 0.8186 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.007211, allocations: 1.938 kB / 0.8186 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-06/0.007215, allocations: 0 / 0.8186 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.007216, allocations: 64 / 0.8186 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.007223, allocations: 8 kB / 0.8186 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007224, allocations: 0 / 0.8186 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.007226, allocations: 8.734 kB / 0.8186 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.224e-05/0.007318, allocations: 120.3 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.007326, allocations: 7.938 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.007335, allocations: 3.438 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.00735, allocations: 7.984 kB / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.007376, allocations: 7.938 kB / 0.8188 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007381, allocations: 7.984 kB / 0.8188 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.007419, allocations: 123.2 kB / 0.8189 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007419, allocations: 0 / 0.8189 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000157/0.007576, allocations: 32 kB / 0.8189 GB, free: 10.77 MB / 0.7761 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.0001248/0.007701, allocations: 103.8 kB / 0.819 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.007922, allocations: 266.3 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.007923, allocations: 1.625 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.00795, allocations: 27.61 kB / 0.8193 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.008117, allocations: 21.48 kB / 0.8193 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.008348, allocations: 155.8 kB / 0.8195 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.00838, allocations: 59.22 kB / 0.8195 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.008401, allocations: 8.641 kB / 0.8196 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.008502, allocations: 106.2 kB / 0.8197 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.008503, allocations: 1.844 kB / 0.8197 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of Templates: time 0.003668/0.01217, allocations: 2.276 MB / 0.8219 GB, free: 7.738 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.238792585209012]