Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.398/2.398, allocations: 390.3 MB / 0.6647 GB, free: 500 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002196, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.7, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001747/0.7018, allocations: 0.8233 MB / 0.9505 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.7031, allocations: 1.478 MB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.7032, allocations: 2.844 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.7033, allocations: 19.8 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.7033, allocations: 31.56 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.7043, allocations: 0.512 MB / 0.9525 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000419/0.7047, allocations: 0.4938 MB / 0.953 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.7049, allocations: 39.95 kB / 0.9531 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.705, allocations: 180 kB / 0.9532 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.7052, allocations: 143.2 kB / 0.9534 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.7053, allocations: 41.81 kB / 0.9534 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.7054, allocations: 62.8 kB / 0.9535 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.7054, allocations: 42.84 kB / 0.9535 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.7056, allocations: 166.2 kB / 0.9537 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.7059, allocations: 406.5 kB / 0.9541 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7059, allocations: 0 / 0.9541 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7059, allocations: 0 / 0.9541 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.706, allocations: 1.344 kB / 0.9541 GB, free: 5.965 MB / 0.7169 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.0006174/0.7066, allocations: 0.6415 MB / 0.9547 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.7066, allocations: 9.844 kB / 0.9547 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.7067, allocations: 46.89 kB / 0.9547 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.7067, allocations: 32.59 kB / 0.9548 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.707, allocations: 268.3 kB / 0.955 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.707, allocations: 17.94 kB / 0.955 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.7071, allocations: 29.22 kB / 0.9551 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.7073, allocations: 152.1 kB / 0.9552 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7073, allocations: 3.938 kB / 0.9552 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.7073, allocations: 9.297 kB / 0.9552 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7073, allocations: 3.25 kB / 0.9552 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.7074, allocations: 83.92 kB / 0.9553 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.7081, allocations: 0.7128 MB / 0.956 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.7083, allocations: 174.5 kB / 0.9562 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.7083, allocations: 46.64 kB / 0.9562 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.7083, allocations: 5.156 kB / 0.9562 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.7086, allocations: 147.8 kB / 0.9564 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.7086, allocations: 0 / 0.9564 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0003923/0.709, allocations: 252.2 kB / 0.9566 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.709, allocations: 54.5 kB / 0.9567 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.7091, allocations: 190.7 kB / 0.9568 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.7092, allocations: 40.45 kB / 0.9569 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.7093, allocations: 126.9 kB / 0.957 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.7093, allocations: 42.66 kB / 0.957 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.7095, allocations: 113 kB / 0.9571 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.7095, allocations: 323 kB / 0.9575 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.7098, allocations: 165 kB / 0.9576 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.7101, allocations: 234.3 kB / 0.9578 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.7104, allocations: 408.8 kB / 0.9582 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7104, allocations: 1.312 kB / 0.9582 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000825/0.7113, allocations: 0.6151 MB / 0.9588 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.7113, allocations: 168.4 kB / 0.959 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7114, allocations: 7.281 kB / 0.959 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7114, allocations: 4.5 kB / 0.959 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.147e-05/0.7114, allocations: 12.55 kB / 0.959 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.7114, allocations: 4.406 kB / 0.959 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.7122, allocations: 147.4 kB / 0.9592 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.7123, allocations: 31.58 kB / 0.9592 GB, free: 1.711 MB / 0.7169 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.000128/0.7124, allocations: 162.6 kB / 0.9593 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.7124, allocations: 18.78 kB / 0.9594 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.7125, allocations: 21.3 kB / 0.9594 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7125, allocations: 5.969 kB / 0.9594 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7125, allocations: 5.094 kB / 0.9594 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7125, allocations: 0 / 0.9594 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.7129, allocations: 0.5099 MB / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7129, allocations: 0 / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.713, allocations: 3.188 kB / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.713, allocations: 1.094 kB / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.713, allocations: 7.141 kB / 0.9599 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.713, allocations: 4.969 kB / 0.9599 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.713, allocations: 4 kB / 0.9599 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.7132, allocations: 283.3 kB / 0.9602 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.7133, allocations: 88.58 kB / 0.9603 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.7133, allocations: 14.36 kB / 0.9603 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.7134, allocations: 1 kB / 0.9603 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.7134, allocations: 25.25 kB / 0.9603 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.7134, allocations: 5.469 kB / 0.9603 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.771e-05/0.7135, allocations: 122 kB / 0.9604 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7135, allocations: 0 / 0.9604 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003368/0.7138, allocations: 85.83 kB / 0.9605 GB, free: 0.6445 MB / 0.7169 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.0004582/0.7143, allocations: 0.8281 MB / 0.9613 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.7151, allocations: 0.6328 MB / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7151, allocations: 0 / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.7152, allocations: 73.41 kB / 0.962 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.7156, allocations: 56.55 kB / 0.9621 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.7196, allocations: 3.001 MB / 0.965 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.7199, allocations: 0.7199 MB / 0.9657 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.34e-05/0.72, allocations: 29.66 kB / 0.9657 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.7201, allocations: 53.39 kB / 0.9658 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.7201, allocations: 0 / 0.9658 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.7687, allocations: 6.313 MB / 0.9719 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.503, allocations: 2.25 kB / 0.9719 GB, free: 9.039 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches