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.0008381/0.0008381, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005547/0.005547, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7133, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009887/0.7143, allocations: 440.9 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.7162, allocations: 1.284 MB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.7162, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.7163, allocations: 7.922 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.7164, allocations: 19.86 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.7173, allocations: 282.5 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.7175, allocations: 231.5 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.7176, allocations: 16.17 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.7177, allocations: 87.86 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.7178, allocations: 71.77 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.7179, allocations: 12 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.718, allocations: 27.92 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.718, allocations: 19.92 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.7181, allocations: 93.5 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.7184, allocations: 209.7 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7184, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.765e-06/0.7184, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7184, allocations: 0 / 1.026 GB, free: 13.1 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.0005033/0.7189, allocations: 460.4 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.719, allocations: 11.97 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.719, allocations: 34.75 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.7191, allocations: 12.84 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7192, allocations: 180.2 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7192, allocations: 12.38 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.7193, allocations: 16.31 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.7194, allocations: 61.97 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.7194, allocations: 7.938 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.7194, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.7194, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/0.7195, allocations: 23.98 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.72, allocations: 408.5 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/0.7201, allocations: 34.52 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.7201, allocations: 20.94 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.7201, allocations: 8 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.7203, allocations: 95.34 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.7203, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002879/0.7206, allocations: 137.5 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.7207, allocations: 55.41 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.7208, allocations: 133.7 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.7208, allocations: 37.7 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.7209, allocations: 104.2 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.7209, allocations: 23.66 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.721, allocations: 25.7 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.7211, allocations: 326.8 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.7213, allocations: 83.95 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.7215, allocations: 139.8 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.7217, allocations: 228.2 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7218, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005484/0.7223, allocations: 386.4 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/0.7224, allocations: 103 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7224, allocations: 0 / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7224, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/0.7224, allocations: 384 / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7224, allocations: 7.984 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.723, allocations: 122 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.7231, allocations: 23.92 kB / 1.029 GB, free: 9.488 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.000115/0.7232, allocations: 139.3 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.7232, allocations: 7.906 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.7232, allocations: 12.38 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7232, allocations: 4 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7233, allocations: 0 / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7233, allocations: 4 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.7234, allocations: 189.6 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7234, allocations: 0 / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.7234, allocations: 4 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7234, allocations: 0 / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.7234, allocations: 4 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7235, allocations: 3.938 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.7235, allocations: 0 / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.7236, allocations: 144.9 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.7237, allocations: 85.02 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.7237, allocations: 0 / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.7237, allocations: 3.984 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.7238, allocations: 12 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.7238, allocations: 3.984 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.7238, allocations: 95.27 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7239, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002475/0.7241, allocations: 48 kB / 1.03 GB, free: 8.648 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.0004599/0.7246, allocations: 0.6806 MB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.725, allocations: 366.1 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.725, allocations: 4.375 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-05/0.7251, allocations: 39.98 kB / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.7254, allocations: 19.98 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.7276, allocations: 2.08 MB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.7278, allocations: 0.6926 MB / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.7279, allocations: 12.42 kB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.7279, allocations: 23.44 kB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7279, allocations: 0 / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.7414, allocations: 3.506 MB / 1.037 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.7416, allocations: 194.2 kB / 1.037 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.486, allocations: 0 / 1.037 GB, free: 0.9102 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