Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 113.7 kB / 16.42 MB, free: 6.449 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.001483/0.001483, allocations: 185.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.465/1.465, allocations: 222.9 MB / 241.1 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.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.908/0.9094, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002015/0.9115, allocations: 0.6709 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.9131, allocations: 1.191 MB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.9132, allocations: 0 / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.9132, allocations: 4.453 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.9133, allocations: 8.719 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.914, allocations: 224 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.9144, allocations: 186.6 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.9145, allocations: 11.08 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.9146, allocations: 67.64 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.9147, allocations: 57.22 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.9148, allocations: 15.88 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.9149, allocations: 32.08 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.9149, allocations: 14.22 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.915, allocations: 60.75 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.9153, allocations: 147.1 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9153, allocations: 0.6562 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9153, allocations: 1.375 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.9154, allocations: 0 / 1.091 GB, free: 3.883 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.0004606/0.9158, allocations: 434.8 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.9159, allocations: 8.312 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.9159, allocations: 12.86 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.916, allocations: 168.5 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.916, allocations: 13.3 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.9161, allocations: 10.23 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.9162, allocations: 45.08 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.9162, allocations: 4.125 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.9162, allocations: 5.391 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9162, allocations: 0.6875 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.9163, allocations: 17.55 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.9167, allocations: 350.6 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.101e-05/0.9168, allocations: 39.02 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.9168, allocations: 20.14 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.9168, allocations: 0.8125 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.917, allocations: 85.69 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.917, allocations: 0.75 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002662/0.9173, allocations: 98.95 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.9173, allocations: 61.39 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.9174, allocations: 116.8 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.9174, allocations: 30.02 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.9175, allocations: 94.27 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.9175, allocations: 11.59 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.9177, allocations: 52.59 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.9177, allocations: 319.2 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.9179, allocations: 63.56 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.9181, allocations: 100.6 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.9182, allocations: 155.6 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9183, allocations: 4.562 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004497/0.9187, allocations: 261.9 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.9188, allocations: 68.84 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.9188, allocations: 0.7188 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9188, allocations: 2.188 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.549e-05/0.9188, allocations: 7.797 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.9188, allocations: 5.25 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.9193, allocations: 63.81 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.9193, allocations: 12.28 kB / 1.094 GB, free: 1.598 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,nor1.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 9.201e-05/0.9194, allocations: 123.4 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.9194, allocations: 3.828 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.9194, allocations: 9.859 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9195, allocations: 1.406 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9195, allocations: 3.984 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.9195, allocations: 87.94 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.9195, allocations: 2.062 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.9195, allocations: 4.625 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.9196, allocations: 10.19 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001359/0.9197, allocations: 160.2 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001457/0.9199, allocations: 252.9 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.769e-05/0.9199, allocations: 28.34 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.92, allocations: 93.48 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of Backend: time 3.1e-07/0.92, allocations: 0.9062 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.9206, allocations: 308.3 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004394/0.921, allocations: 0.6078 MB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of Templates: time 0.005472/0.9265, allocations: 1.881 MB / 1.097 GB, free: 15.89 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches