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.001417/0.001417, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001506/0.001506, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.493/1.493, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.97/2.97, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.713e-06/1.713e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.96e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001873/0.001902, allocations: 0.6539 MB / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.003773, allocations: 1.207 MB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.003825, allocations: 0 / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.003854, allocations: 0 / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.003941, allocations: 16.75 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007234/0.004664, allocations: 208.4 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.005026, allocations: 173.2 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.005115, allocations: 7.984 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.00531, allocations: 95.86 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.00546, allocations: 57.59 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.005504, allocations: 12 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.005592, allocations: 27.98 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.005623, allocations: 7.938 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.005716, allocations: 53.69 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.005993, allocations: 179.5 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005995, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.51e-07/0.005996, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.006, allocations: 0 / 0.8135 GB, free: 15.39 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.0005853/0.006585, allocations: 358.9 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.006627, allocations: 8.031 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.006712, allocations: 12.89 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.006848, allocations: 121.7 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.006869, allocations: 10.72 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.006906, allocations: 16.36 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.007024, allocations: 46.25 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007033, allocations: 192 / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.007042, allocations: 384 / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.007049, allocations: 4.375 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.007094, allocations: 16.64 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.007577, allocations: 268.5 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.007664, allocations: 35.05 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.007697, allocations: 18.59 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.007711, allocations: 4 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.007886, allocations: 75.31 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.007887, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002987/0.008186, allocations: 118.2 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.008237, allocations: 55.41 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.008356, allocations: 123 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.008397, allocations: 33.7 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.008486, allocations: 88.09 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.00851, allocations: 17.06 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.008618, allocations: 53.67 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.008784, allocations: 314.8 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.008975, allocations: 124.7 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.009185, allocations: 151.6 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.009409, allocations: 161.2 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009411, allocations: 0.5625 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005584/0.009969, allocations: 340.9 kB / 0.8159 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.01004, allocations: 72.23 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01004, allocations: 0 / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.01006, allocations: 1.781 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.39e-05/0.01008, allocations: 8.062 kB / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.01009, allocations: 3.984 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.01045, allocations: 52.69 kB / 0.816 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.01049, allocations: 18.31 kB / 0.8161 GB, free: 12.44 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 0.0001265/0.01061, allocations: 125.8 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.01064, allocations: 11.89 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.01067, allocations: 8.438 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01067, allocations: 4 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.01068, allocations: 2.031 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.01068, allocations: 0 / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.01082, allocations: 121.3 kB / 0.8163 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01082, allocations: 4 kB / 0.8163 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/0.01083, allocations: 0 / 0.8163 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01083, allocations: 4.438 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01084, allocations: 0 / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01085, allocations: 4.5 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01085, allocations: 1.906 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.01103, allocations: 113 kB / 0.8164 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.01104, allocations: 4 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.01105, allocations: 3.938 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.01108, allocations: 3.984 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.01112, allocations: 12.66 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.01113, allocations: 4 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.01119, allocations: 91.92 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01119, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002642/0.01146, allocations: 39.45 kB / 0.8166 GB, free: 11.84 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.0001538/0.01161, allocations: 103.2 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.01202, allocations: 282.1 kB / 0.817 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01202, allocations: 0 / 0.817 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.845e-05/0.01207, allocations: 19.94 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01231, allocations: 19.77 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.01266, allocations: 161.1 kB / 0.8172 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.205e-05/0.01273, allocations: 71.33 kB / 0.8172 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.01276, allocations: 4.969 kB / 0.8172 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.01279, allocations: 16.48 kB / 0.8172 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01279, allocations: 1.125 kB / 0.8172 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.005278/0.01806, allocations: 2.054 MB / 0.8193 GB, free: 9.105 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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: 8.006844275048934]