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.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: 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.001199/0.0012, allocations: 106.7 kB / 15.98 MB, free: 6.359 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.001359/0.001359, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.231/2.231, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 66.98 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3192, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002477/0.3218, allocations: 0.7223 MB / 0.9505 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3237, allocations: 1.191 MB / 0.9517 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.3238, allocations: 4 kB / 0.9517 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.3238, allocations: 0 / 0.9517 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.324, allocations: 11.91 kB / 0.9517 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.3247, allocations: 199.5 kB / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.325, allocations: 187.7 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3251, allocations: 4 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3253, allocations: 71.88 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3254, allocations: 55.81 kB / 0.9522 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.3255, allocations: 16 kB / 0.9522 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3256, allocations: 23.98 kB / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.3256, allocations: 11.98 kB / 0.9522 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.3257, allocations: 59.83 kB / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3259, allocations: 111.8 kB / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3259, allocations: 0 / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.326, allocations: 0 / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.326, allocations: 0 / 0.9524 GB, free: 6.57 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.0006331/0.3266, allocations: 444.1 kB / 0.9528 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3267, allocations: 8.031 kB / 0.9528 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.3267, allocations: 12.84 kB / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3269, allocations: 160.4 kB / 0.953 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3269, allocations: 16.3 kB / 0.953 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.327, allocations: 20.31 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3271, allocations: 42.25 kB / 0.953 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3271, allocations: 192 / 0.953 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3271, allocations: 3.938 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3272, allocations: 7.984 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.3272, allocations: 19.98 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.3278, allocations: 352.6 kB / 0.9534 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.3279, allocations: 50.44 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.3279, allocations: 20.8 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.328, allocations: 0 / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.3282, allocations: 79.45 kB / 0.9536 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.3282, allocations: 0 / 0.9536 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000308/0.3285, allocations: 105.5 kB / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3286, allocations: 59.41 kB / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3287, allocations: 117.8 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.3287, allocations: 29.7 kB / 0.9539 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.3288, allocations: 96.11 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3289, allocations: 11.81 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.329, allocations: 49.69 kB / 0.954 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3291, allocations: 322.8 kB / 0.9543 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3293, allocations: 55.97 kB / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3294, allocations: 103.4 kB / 0.9545 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3296, allocations: 156 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3296, allocations: 0 / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004325/0.3301, allocations: 272.7 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.3302, allocations: 67.39 kB / 0.9549 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3302, allocations: 8.062 kB / 0.9549 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3302, allocations: 0 / 0.9549 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.413e-05/0.3302, allocations: 4 kB / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3302, allocations: 0 / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.3306, allocations: 56.05 kB / 0.955 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.3307, allocations: 12 kB / 0.955 GB, free: 3.562 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.0001214/0.3308, allocations: 135.6 kB / 0.9551 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.3308, allocations: 7.906 kB / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.3308, allocations: 4.375 kB / 0.9552 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3308, allocations: 4 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3308, allocations: 0 / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3309, allocations: 0 / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.331, allocations: 185.6 kB / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.331, allocations: 0 / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.331, allocations: 0 / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.331, allocations: 0 / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3311, allocations: 7.938 kB / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3311, allocations: 0 / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3311, allocations: 0 / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.3312, allocations: 116.9 kB / 0.9555 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.3313, allocations: 85.09 kB / 0.9555 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3313, allocations: 7.938 kB / 0.9555 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.3313, allocations: 4 kB / 0.9555 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3314, allocations: 7.984 kB / 0.9556 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3314, allocations: 4 kB / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.3314, allocations: 87.22 kB / 0.9556 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3314, allocations: 4 kB / 0.9556 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002502/0.3317, allocations: 35.89 kB / 0.9557 GB, free: 2.785 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.0001644/0.3319, allocations: 103.2 kB / 0.9558 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.3322, allocations: 251 kB / 0.956 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3322, allocations: 0 / 0.956 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.199e-05/0.3323, allocations: 39.91 kB / 0.9561 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.3326, allocations: 18.23 kB / 0.9561 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.3329, allocations: 196.8 kB / 0.9563 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3332, allocations: 0.6922 MB / 0.9569 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.3332, allocations: 11.44 kB / 0.9569 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.3333, allocations: 0 / 0.9569 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of Templates: time 0.003333/0.3366, allocations: 1.394 MB / 0.9583 GB, free: 4 kB / 0.7325 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 -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