Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001831/0.001831, allocations: 109.7 kB / 16.41 MB, free: 6.512 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.001839/0.001839, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.914/0.9155, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001676/0.9172, allocations: 0.6635 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.9185, allocations: 1.186 MB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.9185, allocations: 4 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.9186, allocations: 4.5 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.9186, allocations: 11.55 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.9192, allocations: 217.5 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.9194, allocations: 183.3 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.9195, allocations: 14.88 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.9196, allocations: 66.81 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.9198, allocations: 57.48 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.9198, allocations: 19.09 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.9199, allocations: 33.89 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.9199, allocations: 12.8 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/0.92, allocations: 56.89 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.9202, allocations: 148.3 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9202, allocations: 0 / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9202, allocations: 0.6562 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.9202, allocations: 4 kB / 1.091 GB, free: 3.898 MB / 0.8575 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.0004138/0.9207, allocations: 433.5 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9207, allocations: 8.219 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.9208, allocations: 13.52 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.9209, allocations: 168.6 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.9209, allocations: 9 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.9209, allocations: 10.28 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.967e-05/0.921, allocations: 49.72 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.921, allocations: 4.188 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.921, allocations: 4.781 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.9211, allocations: 0.9688 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.9211, allocations: 14.11 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.9215, allocations: 350.1 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.9216, allocations: 42.19 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.9216, allocations: 16.88 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.9216, allocations: 8.641 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.9217, allocations: 81.55 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.9218, allocations: 0 / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002276/0.922, allocations: 103.9 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.922, allocations: 57.64 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.9221, allocations: 116.6 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.9221, allocations: 29.48 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.9222, allocations: 98.88 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.9222, allocations: 11.5 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.9223, allocations: 52.38 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.9223, allocations: 318.8 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.9225, allocations: 60.48 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.9226, allocations: 95.69 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.9228, allocations: 170.1 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9228, allocations: 0.8125 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00038/0.9232, allocations: 258 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.9232, allocations: 72.7 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.9232, allocations: 1.688 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9232, allocations: 1.469 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.9233, allocations: 2.984 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.9233, allocations: 2.938 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.9236, allocations: 59.8 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.9237, allocations: 12.34 kB / 1.094 GB, free: 1.621 MB / 0.8575 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 8.627e-05/0.9237, allocations: 127 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.9238, allocations: 11.45 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.9238, allocations: 10.27 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9238, allocations: 0.6094 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9238, allocations: 1.375 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.9238, allocations: 83.17 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.9239, allocations: 1.266 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.9239, allocations: 6.969 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.9239, allocations: 12.14 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001365/0.9241, allocations: 161.5 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001493/0.9242, allocations: 256.5 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.54e-05/0.9243, allocations: 23.39 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.9243, allocations: 97.72 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of Backend: time 3.41e-07/0.9243, allocations: 0 / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.9249, allocations: 312.8 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004104/0.9253, allocations: 0.6045 MB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of Templates: time 0.005217/0.9305, allocations: 1.873 MB / 1.097 GB, free: 15.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches