Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_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.001512/0.001512, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00182/0.00182, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.3 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 75.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.618, allocations: 140.3 MB / 0.9493 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001755/0.6198, allocations: 0.7642 MB / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.621, allocations: 1.259 MB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.6211, allocations: 1.375 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.6211, allocations: 3.938 kB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.962e-05/0.6212, allocations: 17.22 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.6219, allocations: 282.8 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.6222, allocations: 278.2 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.6223, allocations: 15.77 kB / 0.9518 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.6224, allocations: 103.8 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.6225, allocations: 72.09 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.6226, allocations: 22.31 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.6226, allocations: 40.33 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.6227, allocations: 16.61 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.461e-05/0.6228, allocations: 87.88 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.623, allocations: 216.2 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.623, allocations: 0 / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.623, allocations: 0 / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.623, allocations: 0 / 0.9523 GB, free: 6.812 MB / 0.7169 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.0004714/0.6235, allocations: 0.4944 MB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.6235, allocations: 9.344 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.316e-05/0.6236, allocations: 31.97 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.6236, allocations: 11.69 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/0.6237, allocations: 175.9 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.6237, allocations: 15.66 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.6238, allocations: 13.56 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.6239, allocations: 62.61 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.6239, allocations: 1.375 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.6239, allocations: 7.984 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.6239, allocations: 1.188 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.624, allocations: 14.44 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.6244, allocations: 426.8 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.6245, allocations: 35.05 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.6245, allocations: 21.38 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.6245, allocations: 5.438 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.6247, allocations: 96.69 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.6247, allocations: 0 / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002682/0.6249, allocations: 137.3 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.625, allocations: 57.66 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.6251, allocations: 138.1 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.6251, allocations: 35.95 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.6252, allocations: 103.4 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.6252, allocations: 19 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.6253, allocations: 67.36 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.6254, allocations: 324.3 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.6256, allocations: 86.73 kB / 0.9546 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.6257, allocations: 136.2 kB / 0.9548 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.626, allocations: 229.5 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.626, allocations: 4 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005223/0.6265, allocations: 372.6 kB / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.6265, allocations: 100.5 kB / 0.9554 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6266, allocations: 1.125 kB / 0.9554 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6266, allocations: 2.281 kB / 0.9554 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.6266, allocations: 3.562 kB / 0.9554 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6266, allocations: 6.312 kB / 0.9554 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.6271, allocations: 92.08 kB / 0.9555 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.6272, allocations: 17.58 kB / 0.9555 GB, free: 3.902 MB / 0.7169 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 8.504e-05/0.6273, allocations: 133.5 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.6273, allocations: 8.062 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.6273, allocations: 17.36 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6273, allocations: 2 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.6273, allocations: 0 / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6273, allocations: 5.234 kB / 0.9557 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.6274, allocations: 188.8 kB / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6274, allocations: 1.031 kB / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.6275, allocations: 6.406 kB / 0.9559 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.6275, allocations: 0 / 0.9559 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6275, allocations: 13.3 kB / 0.9559 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6275, allocations: 5.25 kB / 0.9559 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6275, allocations: 4 kB / 0.9559 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.6277, allocations: 135.5 kB / 0.956 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.6277, allocations: 87.34 kB / 0.9561 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.6277, allocations: 1.219 kB / 0.9561 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.6277, allocations: 5.156 kB / 0.9561 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.6278, allocations: 7.609 kB / 0.9561 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.6278, allocations: 3.688 kB / 0.9561 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.6278, allocations: 99.56 kB / 0.9562 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6278, allocations: 5.219 kB / 0.9562 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002642/0.6281, allocations: 46 kB / 0.9563 GB, free: 3.199 MB / 0.7169 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.0003156/0.6284, allocations: 0.682 MB / 0.957 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.6288, allocations: 370.7 kB / 0.9573 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6288, allocations: 1.469 kB / 0.9573 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.6289, allocations: 39.22 kB / 0.9573 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.6291, allocations: 25.27 kB / 0.9574 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.631, allocations: 2.07 MB / 0.9594 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.6312, allocations: 0.6961 MB / 0.9601 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.6312, allocations: 9.922 kB / 0.9601 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.6313, allocations: 28.59 kB / 0.9601 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.6313, allocations: 0.875 kB / 0.9601 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.6575, allocations: 3.685 MB / 0.9637 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.6579, allocations: 207.7 kB / 0.9639 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.625, allocations: 0 / 0.9639 GB, free: 13.64 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches