Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_10_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.007093/0.007093, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001164/0.001164, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7996, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00193/0.8015, allocations: 0.8467 MB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.8038, allocations: 1.478 MB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.8039, allocations: 4 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.8041, allocations: 19.73 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.8042, allocations: 35.7 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.8058, allocations: 0.5249 MB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.8064, allocations: 499.2 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.8066, allocations: 45.47 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.8069, allocations: 179.7 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.8072, allocations: 171.5 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.8073, allocations: 40.05 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.8075, allocations: 59.92 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.8076, allocations: 51.84 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.8078, allocations: 155.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.8082, allocations: 413.1 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8082, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8083, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.8083, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 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.0007868/0.8091, allocations: 0.6477 MB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.8091, allocations: 8.922 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.8092, allocations: 50.73 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.8093, allocations: 32.75 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.8096, allocations: 267.9 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.8096, allocations: 16.38 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.8097, allocations: 32.36 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.8099, allocations: 149.9 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.81, allocations: 7.938 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.81, allocations: 7.984 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.81, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.8101, allocations: 83.83 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.811, allocations: 0.7032 MB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.8112, allocations: 171.6 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.8113, allocations: 44.83 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.8113, allocations: 4 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.8115, allocations: 151.2 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.8116, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004816/0.812, allocations: 251.7 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.8121, allocations: 59.41 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.8123, allocations: 186.1 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.8123, allocations: 41.7 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.8125, allocations: 124.5 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.8125, allocations: 43.5 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.8127, allocations: 117.6 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8129, allocations: 330.8 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.8132, allocations: 151.9 kB / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.8136, allocations: 246.7 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.8141, allocations: 401.5 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8141, allocations: 4 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001028/0.8151, allocations: 0.6186 MB / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.8153, allocations: 164.4 kB / 1.175 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8153, allocations: 0 / 1.175 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8153, allocations: 4 kB / 1.175 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.8153, allocations: 15.92 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.8154, allocations: 4.344 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.8161, allocations: 139.7 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.8162, allocations: 27.97 kB / 1.176 GB, free: 9.598 MB / 0.9044 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.0001934/0.8164, allocations: 161.8 kB / 1.176 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.8164, allocations: 19.75 kB / 1.176 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.8165, allocations: 13.88 kB / 1.176 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.8165, allocations: 4 kB / 1.176 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8165, allocations: 3.938 kB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8165, allocations: 3.984 kB / 1.176 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.8171, allocations: 0.5139 MB / 1.176 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8171, allocations: 0 / 1.176 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.8171, allocations: 7.938 kB / 1.176 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8171, allocations: 0 / 1.176 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.8171, allocations: 11.98 kB / 1.176 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8171, allocations: 96 / 1.176 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8172, allocations: 3.938 kB / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.8175, allocations: 281.4 kB / 1.177 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.8175, allocations: 92.92 kB / 1.177 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.8176, allocations: 8 kB / 1.177 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.68e-05/0.8177, allocations: 4 kB / 1.177 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.8177, allocations: 19.97 kB / 1.177 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.8177, allocations: 8 kB / 1.177 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.532e-05/0.8178, allocations: 128.2 kB / 1.177 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8178, allocations: 0 / 1.177 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003785/0.8182, allocations: 83.92 kB / 1.177 GB, free: 8.141 MB / 0.9044 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.0006772/0.8189, allocations: 0.8288 MB / 1.178 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008058/0.8197, allocations: 0.6216 MB / 1.178 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8197, allocations: 0.6875 kB / 1.178 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.8199, allocations: 75.91 kB / 1.178 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.8203, allocations: 51.86 kB / 1.179 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.8242, allocations: 3.003 MB / 1.181 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.8245, allocations: 0.7242 MB / 1.182 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.8246, allocations: 21.55 kB / 1.182 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.8247, allocations: 55.41 kB / 1.182 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/0.8247, allocations: 0 / 1.182 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.85, allocations: 6.373 MB / 1.188 GB, free: 12.25 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.682, allocations: 7.062 kB / 1.188 GB, free: 12.25 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches