Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 110.4 kB / 16.42 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.001984/0.001984, allocations: 185.5 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.419/1.419, 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.427/2.427, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9329, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002135/0.9351, allocations: 0.6611 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.9367, allocations: 1.183 MB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.9367, allocations: 5.438 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.9368, allocations: 4.5 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.9369, allocations: 20.36 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.9376, allocations: 212.2 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.9378, allocations: 178 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.9379, allocations: 16.53 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.938, allocations: 66.47 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.9382, allocations: 65.09 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.9383, allocations: 15.47 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.9384, allocations: 25.16 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.9384, allocations: 12.86 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.9385, allocations: 60.88 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.9388, allocations: 147.6 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.9388, allocations: 0.7969 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9388, allocations: 1.25 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9388, allocations: 4 kB / 1.091 GB, free: 3.863 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.0005508/0.9394, allocations: 428.9 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9394, allocations: 8.062 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.9395, allocations: 12.83 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/0.9396, allocations: 172.9 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.9396, allocations: 9.375 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.9397, allocations: 9.188 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.9398, allocations: 45.81 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.9398, allocations: 1.031 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.9398, allocations: 9.797 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9398, allocations: 0 / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.9399, allocations: 21.84 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.9404, allocations: 349.6 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.9405, allocations: 38.84 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.9405, allocations: 16.69 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.9406, allocations: 4.75 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.9408, allocations: 85.84 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.9408, allocations: 0 / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002712/0.941, allocations: 108.4 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.9411, allocations: 52.47 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.9412, allocations: 116.5 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.9412, allocations: 30.55 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.9413, allocations: 102.6 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.9413, allocations: 10.83 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.9414, allocations: 48.86 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.9414, allocations: 318.8 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.9416, allocations: 59.92 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.9418, allocations: 99.92 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.9419, allocations: 158.2 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.942, allocations: 0 / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004385/0.9424, allocations: 257.9 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.9425, allocations: 68.73 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.9425, allocations: 6.203 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.9425, allocations: 2.844 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.9425, allocations: 14.3 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.9425, allocations: 2.5 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.9429, allocations: 55.67 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.9429, allocations: 11.58 kB / 1.094 GB, free: 1.586 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,or1.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.614e-05/0.943, allocations: 128 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.9431, allocations: 2.75 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.9431, allocations: 10.19 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9431, allocations: 1.359 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9431, allocations: 0.7969 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.9431, allocations: 84.11 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.9432, allocations: 1.234 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.9432, allocations: 9.266 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.9432, allocations: 4.828 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001416/0.9434, allocations: 168.7 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001517/0.9435, allocations: 252.9 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.762e-05/0.9436, allocations: 24.08 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.9436, allocations: 94.66 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of Backend: time 4.41e-07/0.9436, allocations: 0 / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006459/0.9443, allocations: 315.6 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004941/0.9448, allocations: 0.6039 MB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of Templates: time 0.005892/0.9507, allocations: 1.885 MB / 1.097 GB, free: 15.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches