Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.002039/0.002039, allocations: 193.2 kB / 17.31 MB, free: 5.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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 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.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 62.33 kB / 0.814 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3006, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002377/0.303, allocations: 0.6619 MB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3047, allocations: 1.193 MB / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.3048, allocations: 3.938 kB / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.3049, allocations: 3.938 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.305, allocations: 11.91 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.3059, allocations: 214.1 kB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.3061, allocations: 183.7 kB / 0.9534 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3063, allocations: 23.92 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.301e-05/0.3064, allocations: 71.88 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3065, allocations: 59.84 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.3065, allocations: 16 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.328e-05/0.3066, allocations: 27.98 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.3067, allocations: 15.92 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.3068, allocations: 55.88 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.307, allocations: 143.6 kB / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.307, allocations: 0 / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.307, allocations: 4 kB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.307, allocations: 0 / 0.9538 GB, free: 5.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005715/0.3076, allocations: 442.6 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3077, allocations: 8.031 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.3077, allocations: 12.84 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3078, allocations: 176.3 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3079, allocations: 8.359 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.3079, allocations: 8.375 kB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.308, allocations: 50.25 kB / 0.9544 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3081, allocations: 4.188 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3081, allocations: 3.938 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3081, allocations: 3.984 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.3081, allocations: 12 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.3088, allocations: 360.6 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.3089, allocations: 34.5 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.309, allocations: 16.86 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.309, allocations: 4 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.3092, allocations: 87.45 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 3.317e-06/0.3092, allocations: 0 / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002524/0.3095, allocations: 109.5 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3095, allocations: 59.34 kB / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3096, allocations: 113.8 kB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3097, allocations: 29.7 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3098, allocations: 96.12 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.3098, allocations: 15.81 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.3099, allocations: 49.62 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.31, allocations: 326.8 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3102, allocations: 59.97 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3103, allocations: 92.19 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.3105, allocations: 159.6 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3105, allocations: 0 / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004137/0.3109, allocations: 260.8 kB / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.311, allocations: 75.52 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.311, allocations: 0 / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.311, allocations: 0 / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.226e-05/0.3111, allocations: 4.469 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3111, allocations: 0 / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.3114, allocations: 55.92 kB / 0.9564 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.3115, allocations: 12 kB / 0.9564 GB, free: 2.355 MB / 0.7325 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,xor1.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 0.0001172/0.3116, allocations: 139.6 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3116, allocations: 7.844 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.3116, allocations: 12.38 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3116, allocations: 0 / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3116, allocations: 0 / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3116, allocations: 0 / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3118, allocations: 185.5 kB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3118, allocations: 0 / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.3118, allocations: 4 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3118, allocations: 4 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3118, allocations: 4 kB / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3119, allocations: 0 / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3119, allocations: 0 / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.312, allocations: 116.9 kB / 0.9568 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.3121, allocations: 81.11 kB / 0.9569 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3121, allocations: 3.984 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.3121, allocations: 0 / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.3122, allocations: 12 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3122, allocations: 8.062 kB / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.3123, allocations: 91.27 kB / 0.957 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3123, allocations: 0 / 0.957 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002406/0.3125, allocations: 35.84 kB / 0.9571 GB, free: 1.57 MB / 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.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.0001932/0.3127, allocations: 107.2 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.3131, allocations: 242.6 kB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3131, allocations: 4.25 kB / 0.9574 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.516e-05/0.3132, allocations: 39.91 kB / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.3134, allocations: 15.98 kB / 0.9574 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.3138, allocations: 155.7 kB / 0.9576 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3142, allocations: 0.6905 MB / 0.9583 GB, free: 244 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.3142, allocations: 8 kB / 0.9583 GB, free: 236 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.3142, allocations: 19.36 kB / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.3142, allocations: 0 / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of Templates: time 0.004735/0.319, allocations: 1.853 MB / 0.9601 GB, free: 14.38 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches