Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001237/0.001237, allocations: 192 kB / 17.31 MB, free: 5.18 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.316/2.316, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.42 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2982, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002038/0.3003, allocations: 0.7017 MB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3019, allocations: 1.271 MB / 0.9531 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.302, allocations: 0 / 0.9531 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.302, allocations: 7.875 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.3021, allocations: 15.84 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.3029, allocations: 318.6 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.3033, allocations: 267.6 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3034, allocations: 20.17 kB / 0.9537 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.3035, allocations: 99.86 kB / 0.9538 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3037, allocations: 95.67 kB / 0.9539 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.3037, allocations: 24 kB / 0.9539 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.3038, allocations: 43.97 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.3039, allocations: 11.94 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.304, allocations: 87.73 kB / 0.954 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.3043, allocations: 215.4 kB / 0.9542 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3043, allocations: 7.938 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3043, allocations: 4 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3043, allocations: 0 / 0.9542 GB, free: 4.891 MB / 0.7325 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.0005983/0.3049, allocations: 496.3 kB / 0.9547 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3049, allocations: 8.031 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.305, allocations: 16.84 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3052, allocations: 170.9 kB / 0.9549 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3052, allocations: 8.375 kB / 0.9549 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.3052, allocations: 20.36 kB / 0.9549 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3054, allocations: 58.22 kB / 0.955 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3054, allocations: 7.938 kB / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3054, allocations: 4 kB / 0.955 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3054, allocations: 0 / 0.955 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.3055, allocations: 23.92 kB / 0.955 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.306, allocations: 412.4 kB / 0.9554 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.228e-05/0.3061, allocations: 30.56 kB / 0.9554 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.3061, allocations: 20.95 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3062, allocations: 11.98 kB / 0.9555 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3063, allocations: 95.2 kB / 0.9556 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.3064, allocations: 0 / 0.9556 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003004/0.3067, allocations: 137.5 kB / 0.9557 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3067, allocations: 59.77 kB / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3068, allocations: 129.8 kB / 0.9559 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.3069, allocations: 37.7 kB / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.307, allocations: 100.1 kB / 0.956 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.307, allocations: 23.73 kB / 0.956 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3071, allocations: 65.67 kB / 0.9561 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3072, allocations: 322.8 kB / 0.9564 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.3074, allocations: 91.94 kB / 0.9565 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3076, allocations: 139.8 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.3079, allocations: 227 kB / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3079, allocations: 4 kB / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005477/0.3084, allocations: 378.4 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.706e-05/0.3085, allocations: 101.1 kB / 0.9573 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3085, allocations: 0 / 0.9573 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3086, allocations: 4 kB / 0.9573 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.436e-05/0.3086, allocations: 4 kB / 0.9573 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3086, allocations: 0 / 0.9573 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.309, allocations: 91.92 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.3091, allocations: 19.98 kB / 0.9574 GB, free: 1.305 MB / 0.7325 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,and1.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.0001216/0.3092, allocations: 133.7 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.3092, allocations: 7.906 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.3093, allocations: 16.38 kB / 0.9576 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3093, allocations: 0 / 0.9576 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3093, allocations: 0 / 0.9576 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3093, allocations: 7.984 kB / 0.9576 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3095, allocations: 193.5 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3095, allocations: 0 / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.3095, allocations: 0 / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3095, allocations: 0 / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3095, allocations: 7.984 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3095, allocations: 0 / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3095, allocations: 0 / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.3097, allocations: 140.9 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3097, allocations: 92.94 kB / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3098, allocations: 0 / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.354e-05/0.3098, allocations: 4 kB / 0.958 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3098, allocations: 11.98 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3098, allocations: 4 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.3099, allocations: 106.1 kB / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3099, allocations: 7.938 kB / 0.9581 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002427/0.3102, allocations: 36 kB / 0.9581 GB, free: 468 kB / 0.7325 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,and1.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.0001532/0.3103, allocations: 109.7 kB / 0.9582 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004461/0.3108, allocations: 366 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3108, allocations: 0 / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.3109, allocations: 47.86 kB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3111, allocations: 28.58 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.3115, allocations: 190.9 kB / 0.9588 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.3117, allocations: 0.6961 MB / 0.9595 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.3118, allocations: 12.42 kB / 0.9595 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.3118, allocations: 19.44 kB / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3118, allocations: 0 / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.005336/0.3171, allocations: 2.617 MB / 0.9621 GB, free: 12.31 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches