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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 102.2 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8426/0.844, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002261/0.8463, allocations: 0.6565 MB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.8482, allocations: 1.197 MB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.8483, allocations: 0 / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.8483, allocations: 0 / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.8485, allocations: 15.88 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.8494, allocations: 221 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.8497, allocations: 183.7 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.8499, allocations: 12 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.8501, allocations: 67.89 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.8502, allocations: 67.77 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.8503, allocations: 16 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.8504, allocations: 31.98 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.8504, allocations: 4 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.8505, allocations: 63.81 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.8508, allocations: 139.7 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8508, allocations: 0 / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8508, allocations: 4 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.8509, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 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.0006499/0.8515, allocations: 436.5 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8516, allocations: 12.86 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.8517, allocations: 16.84 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.8518, allocations: 172.3 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.8518, allocations: 12.3 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.8519, allocations: 8.375 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.852, allocations: 50.19 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.852, allocations: 4.188 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.852, allocations: 7.938 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.8521, allocations: 0 / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.8521, allocations: 15.98 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.8527, allocations: 344.7 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.8528, allocations: 42.45 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.8528, allocations: 16.94 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.8528, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.853, allocations: 75.38 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.853, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002831/0.8533, allocations: 109.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.8534, allocations: 55.41 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.8535, allocations: 117.8 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.8536, allocations: 33.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.8537, allocations: 92.05 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.8537, allocations: 11.91 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.8538, allocations: 49.67 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8539, allocations: 322.8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.8541, allocations: 55.97 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.8543, allocations: 93.5 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.8545, allocations: 164 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8545, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000447/0.8549, allocations: 264.9 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.855, allocations: 71.39 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.855, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.855, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.68e-05/0.8551, allocations: 7.984 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.8551, allocations: 0 / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.8554, allocations: 55.78 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.8555, allocations: 15.92 kB / 1.173 GB, free: 14.21 MB / 0.9044 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.0001199/0.8556, allocations: 133.7 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.8556, allocations: 4 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.8557, allocations: 4.375 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8557, allocations: 7.984 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8557, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8557, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.8559, allocations: 189.5 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8559, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.8559, allocations: 4.062 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8559, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.8559, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8559, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8559, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.8561, allocations: 113 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.8561, allocations: 81.02 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.8562, allocations: 3.984 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/0.8562, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.8562, allocations: 8 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.8563, allocations: 7.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.8563, allocations: 87.28 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8563, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002437/0.8566, allocations: 28 kB / 1.173 GB, free: 13.44 MB / 0.9044 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.0001765/0.8567, allocations: 107.5 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.8571, allocations: 246.8 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8571, allocations: 4.062 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.8572, allocations: 40.25 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.8575, allocations: 20.12 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.8579, allocations: 184.4 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.8582, allocations: 0.6846 MB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.8582, allocations: 19.44 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/0.8582, allocations: 0 / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.003793/0.862, allocations: 1.381 MB / 1.176 GB, free: 10.69 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches