Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001079/0.001079, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6145/0.6159, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002191/0.6181, allocations: 0.7578 MB / 1.017 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.6199, allocations: 1.3 MB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.6199, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.62, allocations: 3.938 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.6201, allocations: 23.84 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.6209, allocations: 284.3 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.6211, allocations: 223.6 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.6212, allocations: 16.17 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.6214, allocations: 91.8 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.6216, allocations: 79.75 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.6216, allocations: 12 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.6217, allocations: 23.94 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.6218, allocations: 15.92 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.6219, allocations: 79.73 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.6221, allocations: 209.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6221, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6222, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.6222, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005841/0.6228, allocations: 0.4885 MB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6228, allocations: 12.03 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.6228, allocations: 30.75 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.6229, allocations: 16.84 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.6231, allocations: 172.3 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6231, allocations: 12.36 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.6231, allocations: 12.38 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.6233, allocations: 69.92 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6233, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.6233, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6233, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.6234, allocations: 23.98 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.6239, allocations: 412.5 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.624, allocations: 38.52 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.624, allocations: 20.94 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.624, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.6242, allocations: 107.2 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.6242, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002777/0.6245, allocations: 133.5 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.6246, allocations: 63.34 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.6247, allocations: 136.2 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.6247, allocations: 29.7 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.6248, allocations: 104.5 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.6248, allocations: 19.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.6249, allocations: 65.67 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6251, allocations: 326.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.6252, allocations: 87.89 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.6255, allocations: 138 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.6257, allocations: 236.7 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6257, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000555/0.6263, allocations: 382.4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.6264, allocations: 95.12 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6264, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6264, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.922e-05/0.6264, allocations: 8.188 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.6264, allocations: 15.98 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.6269, allocations: 83.75 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.627, allocations: 15.98 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001146/0.6271, allocations: 139.7 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.6271, allocations: 7.906 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.6272, allocations: 12.38 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6272, allocations: 3.984 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6272, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6272, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.6273, allocations: 189.6 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6273, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.6274, allocations: 7.938 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6274, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6274, allocations: 8 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6274, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6274, allocations: 4 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.6276, allocations: 136.9 kB / 1.023 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.6276, allocations: 85.02 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.6276, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.6277, allocations: 8.078 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.6277, allocations: 11.92 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.6277, allocations: 12 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.6278, allocations: 99.27 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6278, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002537/0.628, allocations: 44 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004562/0.6285, allocations: 0.6761 MB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.629, allocations: 366 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.629, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.629, allocations: 39.92 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.6293, allocations: 23.97 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.6316, allocations: 2.075 MB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.6318, allocations: 0.6965 MB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.6318, allocations: 12.44 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.6319, allocations: 27.42 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.6319, allocations: 288 / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.646, allocations: 3.558 MB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.6463, allocations: 193.6 kB / 1.031 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.339, allocations: 0 / 1.031 GB, free: 3.309 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches