Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.001915/0.001916, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002285/0.002285, allocations: 192 kB / 16.14 MB, free: 6.645 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8909, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001991/0.8929, allocations: 0.7115 MB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.8945, allocations: 1.208 MB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.8945, allocations: 0 / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.8946, allocations: 3.938 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.8947, allocations: 13.44 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.8953, allocations: 193.8 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.8955, allocations: 149.2 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.8956, allocations: 12.64 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.8957, allocations: 63 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.8958, allocations: 49.81 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.8958, allocations: 8.438 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.896, allocations: 27.14 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.896, allocations: 6.312 kB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.8961, allocations: 54.84 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.8963, allocations: 140.8 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8963, allocations: 0 / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8964, allocations: 4 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.8964, allocations: 0 / 0.9516 GB, free: 7.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005758/0.8969, allocations: 437.2 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.897, allocations: 9.031 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.897, allocations: 32.06 kB / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.8971, allocations: 7.969 kB / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.8972, allocations: 179.7 kB / 0.9523 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.8972, allocations: 4.125 kB / 0.9523 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.8973, allocations: 13.28 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.8974, allocations: 51.84 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8974, allocations: 3.938 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8974, allocations: 9.328 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8975, allocations: 0 / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.8975, allocations: 12.06 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.8979, allocations: 351.1 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.898, allocations: 40.44 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.8981, allocations: 18.61 kB / 0.9528 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.8981, allocations: 1.25 kB / 0.9528 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.8982, allocations: 79.66 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.8982, allocations: 0 / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002444/0.8985, allocations: 103.9 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.8985, allocations: 56.55 kB / 0.953 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.8986, allocations: 122.6 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.8987, allocations: 34.3 kB / 0.9531 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.8987, allocations: 89.39 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.8987, allocations: 14.73 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.8988, allocations: 47.72 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.8989, allocations: 320.4 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.899, allocations: 68.02 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.8992, allocations: 89.55 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.8993, allocations: 160 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8993, allocations: 1.406 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003956/0.8997, allocations: 262.1 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.8998, allocations: 68.2 kB / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8998, allocations: 6.219 kB / 0.9542 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8998, allocations: 5.188 kB / 0.9542 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-05/0.8999, allocations: 2.625 kB / 0.9542 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8999, allocations: 1.281 kB / 0.9542 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.9002, allocations: 60.59 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.9003, allocations: 12.3 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.598e-05/0.9004, allocations: 122.6 kB / 0.9544 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.9004, allocations: 10.3 kB / 0.9544 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.9004, allocations: 13.55 kB / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9004, allocations: 1.188 kB / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9004, allocations: 1.125 kB / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9004, allocations: 3.938 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.9006, allocations: 181.4 kB / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9006, allocations: 4 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.9006, allocations: 5.172 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9006, allocations: 1.375 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.9006, allocations: 9.125 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9006, allocations: 0 / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9006, allocations: 0 / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.9008, allocations: 109.3 kB / 0.9547 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.9008, allocations: 78.55 kB / 0.9548 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.9008, allocations: 8.844 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.9009, allocations: 1.312 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.9009, allocations: 6.203 kB / 0.9548 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.9009, allocations: 2.906 kB / 0.9548 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.901, allocations: 95.95 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.901, allocations: 0 / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002422/0.9012, allocations: 30.41 kB / 0.9549 GB, free: 3.992 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003794/0.9016, allocations: 0.6584 MB / 0.9556 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.9019, allocations: 245.5 kB / 0.9558 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.902, allocations: 0 / 0.9558 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.902, allocations: 24.53 kB / 0.9558 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.9022, allocations: 25.56 kB / 0.9559 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.9039, allocations: 1.727 MB / 0.9576 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.9041, allocations: 0.6879 MB / 0.9582 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.9041, allocations: 7.875 kB / 0.9582 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.9041, allocations: 19.09 kB / 0.9583 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.9041, allocations: 0 / 0.9583 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.9177, allocations: 2.661 MB / 0.9609 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.9179, allocations: 201.5 kB / 0.961 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.661, allocations: 2 kB / 0.961 GB, free: 15.27 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches