Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001333/0.001334, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 482.4 MB / 0.755 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 71.08 kB / 0.924 GB, free: 328 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8023, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002265/0.8046, allocations: 0.8658 MB / 1.083 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.8065, allocations: 1.486 MB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.8067, allocations: 6.781 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.8068, allocations: 10.33 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.8069, allocations: 27.75 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.8084, allocations: 490.2 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008099/0.8093, allocations: 0.4986 MB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.8094, allocations: 45.88 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.8098, allocations: 179.3 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.8101, allocations: 140.8 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.8102, allocations: 44.75 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.8104, allocations: 54.84 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.8105, allocations: 46.08 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.8108, allocations: 163.5 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.8112, allocations: 288.6 kB / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8112, allocations: 0.8125 kB / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8113, allocations: 4 kB / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.8113, allocations: 0.6562 kB / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001202/0.8125, allocations: 0.6483 MB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8125, allocations: 9.797 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.8127, allocations: 29.67 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.8131, allocations: 263.7 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.8131, allocations: 18.94 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.8132, allocations: 33.77 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.8136, allocations: 157.2 kB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8136, allocations: 192 / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.8136, allocations: 6.609 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.8136, allocations: 3.875 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.8138, allocations: 80.55 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.8149, allocations: 0.7164 MB / 1.089 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.8151, allocations: 167.7 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.8152, allocations: 43.75 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.8152, allocations: 5.219 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.8155, allocations: 155.9 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.8155, allocations: 0 / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0005056/0.816, allocations: 244.2 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.8161, allocations: 58.73 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.8163, allocations: 183.8 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.8164, allocations: 44.89 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.8165, allocations: 134.9 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.8166, allocations: 40.66 kB / 1.09 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.8168, allocations: 116.2 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.817, allocations: 327.7 kB / 1.09 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.8174, allocations: 154.3 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.8178, allocations: 241.8 kB / 1.09 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.8184, allocations: 404.6 kB / 1.091 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8184, allocations: 0 / 1.091 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001155/0.8196, allocations: 0.6184 MB / 1.091 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.8197, allocations: 165.9 kB / 1.092 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.8197, allocations: 6.375 kB / 1.092 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8197, allocations: 4.875 kB / 1.092 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.8198, allocations: 11.31 kB / 1.092 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.8198, allocations: 8.625 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/0.8207, allocations: 139.2 kB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.8208, allocations: 33.84 kB / 1.092 GB, free: 11.55 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002317/0.821, allocations: 164.6 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.8211, allocations: 19.66 kB / 1.092 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.8212, allocations: 23.2 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.8212, allocations: 2.875 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.8212, allocations: 0 / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.8212, allocations: 1.5 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.8219, allocations: 0.5146 MB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8219, allocations: 0 / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.822, allocations: 5.797 kB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.822, allocations: 0.7969 kB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.822, allocations: 3.781 kB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.822, allocations: 1.344 kB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.822, allocations: 0.625 kB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.8224, allocations: 296.3 kB / 1.093 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.8225, allocations: 94.25 kB / 1.093 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.8226, allocations: 6.969 kB / 1.093 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.8227, allocations: 2.641 kB / 1.093 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.8227, allocations: 22.98 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.8227, allocations: 7.75 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001004/0.8228, allocations: 118.9 kB / 1.093 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8229, allocations: 0 / 1.093 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003986/0.8233, allocations: 82.16 kB / 1.093 GB, free: 10.59 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000186/0.8234, allocations: 114.1 kB / 1.093 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000913/0.8244, allocations: 0.6344 MB / 1.094 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8244, allocations: 0 / 1.094 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.8245, allocations: 80.78 kB / 1.094 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.825, allocations: 55.27 kB / 1.094 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.8257, allocations: 398.1 kB / 1.094 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.8262, allocations: 0.7284 MB / 1.095 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.8262, allocations: 27.92 kB / 1.095 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.8262, allocations: 0 / 1.095 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of Templates: time 0.006534/0.8328, allocations: 3.331 MB / 1.098 GB, free: 8.66 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y Variables in the result:mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,time