Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002506/0.002506, allocations: 217.9 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.25 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002457/0.3654, allocations: 0.84 MB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3678, allocations: 1.517 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3679, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.3681, allocations: 31.73 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3682, allocations: 31.72 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3698, allocations: 0.5162 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007978/0.3706, allocations: 475.2 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3707, allocations: 29.67 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.3711, allocations: 191.6 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.3715, allocations: 171.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3716, allocations: 40 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.3718, allocations: 55.98 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.3719, allocations: 43.84 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.3721, allocations: 167.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.3727, allocations: 411 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3727, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3727, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3727, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 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.001002/0.3737, allocations: 0.58 MB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3738, allocations: 8.031 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.3738, allocations: 54.61 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.3739, allocations: 24.84 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.3742, allocations: 206.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3743, allocations: 24.38 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.3743, allocations: 28.38 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3746, allocations: 155.8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3746, allocations: 3.938 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3746, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3747, allocations: 7.984 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3748, allocations: 83.94 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3758, allocations: 0.6788 MB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.376, allocations: 86.48 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.3761, allocations: 36.84 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3761, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.3764, allocations: 167.3 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.3764, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005151/0.3769, allocations: 243.1 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.3769, allocations: 55.41 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3771, allocations: 186.7 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/0.3772, allocations: 41.69 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3773, allocations: 132.6 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3774, allocations: 31.77 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.3776, allocations: 117.6 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3777, allocations: 326.8 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.3781, allocations: 159.8 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.3785, allocations: 240.2 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.379, allocations: 416.7 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.379, allocations: 0 / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001071/0.3801, allocations: 0.6304 MB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.3802, allocations: 172.4 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3802, allocations: 4 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3803, allocations: 4 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.4e-05/0.3803, allocations: 7.938 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.3803, allocations: 7.984 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/0.3811, allocations: 136.1 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.3811, allocations: 31.98 kB / 1.335 GB, free: 7.992 MB / 1.029 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.0002049/0.3813, allocations: 158 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3814, allocations: 23.83 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.3814, allocations: 21.81 kB / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3814, allocations: 64 / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3815, allocations: 4 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3815, allocations: 0 / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.3821, allocations: 498.6 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3821, allocations: 4 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.3821, allocations: 4 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3821, allocations: 4 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3821, allocations: 0 / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3821, allocations: 4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3821, allocations: 3.984 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.3824, allocations: 284.6 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.3825, allocations: 11.91 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3825, allocations: 8.078 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.3826, allocations: 11.94 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.3826, allocations: 23.97 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3826, allocations: 4 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001063/0.3828, allocations: 119.2 kB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3828, allocations: 0 / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003839/0.3831, allocations: 83.88 kB / 1.336 GB, free: 6.668 MB / 1.029 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.0007896/0.3839, allocations: 0.8268 MB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008587/0.3848, allocations: 0.5476 MB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3848, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3849, allocations: 66.66 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.3853, allocations: 47.89 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.3897, allocations: 3.025 MB / 1.341 GB, free: 1.895 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3902, allocations: 0.732 MB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.035e-05/0.3903, allocations: 25.47 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.3904, allocations: 55.42 kB / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3904, allocations: 0 / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.4286, allocations: 6.591 MB / 1.348 GB, free: 10.65 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 7.859 kB / 1.348 GB, free: 10.64 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.49735309300013]