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.001386/0.001386, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001656/0.001656, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.793 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.208/3.208, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002086/0.002086, allocations: 71.95 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002136/0.3414, allocations: 0.8039 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.3435, allocations: 1.49 MB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.3436, allocations: 0 / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.3437, allocations: 23.8 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.077e-05/0.3438, allocations: 39.72 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3451, allocations: 0.5118 MB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000573/0.3457, allocations: 479.2 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3458, allocations: 29.66 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.346, allocations: 187.7 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3463, allocations: 155.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.761e-05/0.3464, allocations: 40 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3465, allocations: 55.98 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.3466, allocations: 43.84 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3467, allocations: 139.6 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.3472, allocations: 423 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3472, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3472, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3472, allocations: 4 kB / 1.329 GB, free: 13.95 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.0008064/0.348, allocations: 0.5761 MB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3481, allocations: 8.031 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.3481, allocations: 42.73 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.951e-05/0.3482, allocations: 28.84 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.3486, allocations: 206.2 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.3486, allocations: 20.36 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.3487, allocations: 32.36 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.349, allocations: 151.8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.349, allocations: 7.922 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.349, allocations: 12 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.349, allocations: 7.938 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3492, allocations: 81.78 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009227/0.3501, allocations: 0.5971 MB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.3503, allocations: 86.48 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.3504, allocations: 36.84 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3504, allocations: 3.984 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.3507, allocations: 160.7 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3507, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.000512/0.3512, allocations: 251.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3513, allocations: 59.39 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3514, allocations: 186.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.3515, allocations: 41.8 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3516, allocations: 128.6 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.3517, allocations: 39.75 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.3519, allocations: 117.6 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.352, allocations: 326.8 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.3525, allocations: 312.4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.353, allocations: 394.6 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.3535, allocations: 405.7 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3535, allocations: 4 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001176/0.3547, allocations: 0.7831 MB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.3548, allocations: 168.4 kB / 1.334 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3548, allocations: 352 / 1.334 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3549, allocations: 8 kB / 1.334 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.3549, allocations: 11.98 kB / 1.334 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.3549, allocations: 7.938 kB / 1.334 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.3557, allocations: 135.7 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.3557, allocations: 31.97 kB / 1.335 GB, free: 8.062 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.0001976/0.3559, allocations: 162 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.356, allocations: 19.84 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.356, allocations: 13.81 kB / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.356, allocations: 4 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.356, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.356, allocations: 11.92 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.3566, allocations: 475.1 kB / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3566, allocations: 0 / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.3567, allocations: 11.92 kB / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3567, allocations: 0 / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3567, allocations: 4.062 kB / 1.335 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3567, allocations: 4 kB / 1.335 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3567, allocations: 0 / 1.335 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.357, allocations: 283.3 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.3571, allocations: 15.91 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3571, allocations: 4 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.3572, allocations: 11.92 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.3572, allocations: 23.97 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3572, allocations: 8 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.482e-05/0.3573, allocations: 119.2 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3573, allocations: 0 / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003681/0.3577, allocations: 83.88 kB / 1.336 GB, free: 6.754 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.0007159/0.3584, allocations: 0.8251 MB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008986/0.3593, allocations: 0.6982 MB / 1.337 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3593, allocations: 3.938 kB / 1.337 GB, free: 5.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3594, allocations: 63.91 kB / 1.337 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3598, allocations: 44.62 kB / 1.337 GB, free: 5.008 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.3645, allocations: 3.644 MB / 1.341 GB, free: 1.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3646, allocations: 112.1 kB / 1.341 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.3647, allocations: 33.45 kB / 1.341 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.3648, allocations: 55.42 kB / 1.341 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/0.3648, allocations: 0 / 1.341 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.4018, allocations: 7.536 MB / 1.349 GB, free: 9.555 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.99, allocations: 9.953 kB / 1.349 GB, free: 9.547 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.740139338653535]