Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 186.6 kB / 22.23 MB, free: 5.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.912/2.912, allocations: 443.5 MB / 0.7322 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 1.061 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 160.8 MB / 1.218 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002088/1.009, allocations: 0.6735 MB / 1.219 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001716/1.011, allocations: 1.197 MB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/1.011, allocations: 4 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/1.011, allocations: 3.938 kB / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/1.011, allocations: 14.14 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/1.012, allocations: 209.2 kB / 1.221 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/1.012, allocations: 174.3 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/1.012, allocations: 14.41 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/1.013, allocations: 64.44 kB / 1.221 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/1.013, allocations: 72.28 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/1.013, allocations: 15.34 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/1.013, allocations: 33.95 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/1.013, allocations: 7.297 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/1.013, allocations: 57.39 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/1.013, allocations: 150 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.013, allocations: 1.25 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/1.013, allocations: 0 / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.471e-06/1.013, allocations: 0 / 1.221 GB, free: 1.758 MB / 0.92 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.0006495/1.014, allocations: 446.9 kB / 1.222 GB, free: 1.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.014, allocations: 9.625 kB / 1.222 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/1.014, allocations: 12.2 kB / 1.222 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.014, allocations: 171.7 kB / 1.222 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/1.014, allocations: 12.67 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/1.014, allocations: 9.156 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/1.014, allocations: 43.78 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.014, allocations: 192 / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.014, allocations: 5.062 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.014, allocations: 4 kB / 1.222 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/1.014, allocations: 19.98 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/1.015, allocations: 350.2 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/1.015, allocations: 31.64 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/1.015, allocations: 18.66 kB / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/1.015, allocations: 0 / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/1.015, allocations: 83.91 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.015, allocations: 0 / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002699/1.015, allocations: 104.5 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/1.015, allocations: 52.78 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.016, allocations: 126.7 kB / 1.223 GB, free: 300 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/1.016, allocations: 33.02 kB / 1.223 GB, free: 264 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.016, allocations: 93.69 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/1.016, allocations: 10.12 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/1.016, allocations: 56.8 kB / 1.223 GB, free: 124 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.016, allocations: 319.9 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/1.016, allocations: 59.31 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/1.016, allocations: 94.44 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/1.016, allocations: 160.3 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.016, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004529/1.017, allocations: 261.3 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/1.017, allocations: 69.36 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.017, allocations: 0.75 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.017, allocations: 2.125 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/1.017, allocations: 22.23 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.017, allocations: 6.5 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/1.017, allocations: 54.7 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/1.017, allocations: 13.67 kB / 1.224 GB, free: 15.26 MB / 0.9356 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.0001223/1.018, allocations: 131.3 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/1.018, allocations: 10.27 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/1.018, allocations: 9.469 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.018, allocations: 1.125 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.018, allocations: 1.094 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.018, allocations: 0 / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/1.018, allocations: 185 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.018, allocations: 1.062 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/1.018, allocations: 5.062 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.018, allocations: 1.125 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/1.018, allocations: 0.8438 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.018, allocations: 7.938 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.018, allocations: 0.75 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/1.018, allocations: 111.8 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/1.018, allocations: 79.33 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/1.018, allocations: 5.047 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/1.018, allocations: 1.094 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/1.018, allocations: 6.297 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/1.018, allocations: 6.719 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.309e-05/1.018, allocations: 90.81 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.1e-08/1.018, allocations: 0.875 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003004/1.018, allocations: 30.7 kB / 1.224 GB, free: 14.6 MB / 0.9356 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.0001747/1.019, allocations: 107.8 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003442/1.019, allocations: 228.6 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.019, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/1.019, allocations: 22.11 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/1.019, allocations: 20.28 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/1.02, allocations: 152.6 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/1.02, allocations: 0.6866 MB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.855e-05/1.02, allocations: 7.234 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/1.02, allocations: 15.75 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/1.02, allocations: 7.938 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.005275/1.025, allocations: 1.864 MB / 1.227 GB, free: 12.49 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.434884540736675]