Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001847/0.001847, 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.002511/0.002511, allocations: 193.2 kB / 16.14 MB, free: 6.684 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.664/1.664, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.15/3.15, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8045, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002295/0.8069, allocations: 0.7264 MB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.8089, allocations: 1.202 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.809, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.809, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.8091, allocations: 15.92 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.8099, allocations: 200.5 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.8101, allocations: 151.7 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.8102, allocations: 11.98 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.8103, allocations: 59.89 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.8104, allocations: 55.86 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.8104, allocations: 8 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.8105, allocations: 23.98 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.8106, allocations: 7.984 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.8107, allocations: 51.81 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.8109, allocations: 139.7 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8109, allocations: 0 / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.42e-07/0.8109, allocations: 3.938 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.8109, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 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.0006391/0.8115, allocations: 440.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.8116, allocations: 12.03 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.8117, allocations: 16.84 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.8119, allocations: 176.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.8119, allocations: 8.359 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.8119, allocations: 8.375 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.8121, allocations: 46.25 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.8121, allocations: 192 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.8121, allocations: 7.938 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8121, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.8122, allocations: 15.98 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.8128, allocations: 364.6 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.524e-05/0.8129, allocations: 42.5 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.8129, allocations: 16.86 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.813, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.8132, allocations: 83.45 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.8132, allocations: 3.938 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002823/0.8135, allocations: 101.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.8136, allocations: 55.41 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.8137, allocations: 113.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.8137, allocations: 33.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.8138, allocations: 96.11 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.8138, allocations: 11.81 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.8139, allocations: 49.69 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.8141, allocations: 326.8 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.8143, allocations: 59.97 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.8145, allocations: 92.19 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.8147, allocations: 164 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8147, allocations: 4 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004546/0.8151, allocations: 256.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.8152, allocations: 71.33 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.8152, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8153, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.442e-05/0.8153, allocations: 8.125 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.8153, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.8157, allocations: 59.86 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.8157, allocations: 11.98 kB / 1.022 GB, free: 13.08 MB / 0.7794 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.0001313/0.8159, allocations: 130.2 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.8159, allocations: 7.906 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.8159, allocations: 12.38 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.8159, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8159, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8159, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.8161, allocations: 189.5 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8161, allocations: 64 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.8162, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8162, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.8162, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8162, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.8162, allocations: 7.984 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.8164, allocations: 113.2 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.8164, allocations: 89 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.8165, allocations: 0 / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.8165, allocations: 0 / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.8165, allocations: 11.98 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.8166, allocations: 4 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.8166, allocations: 99.2 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8166, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002375/0.8169, allocations: 28 kB / 1.023 GB, free: 12.3 MB / 0.7794 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.0002155/0.8171, allocations: 111.2 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.8175, allocations: 246.7 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8175, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.8176, allocations: 31.91 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.8178, allocations: 28.17 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.8183, allocations: 168.4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.8188, allocations: 0.6848 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.8188, allocations: 11.98 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.8188, allocations: 11.44 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.8188, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.005263/0.8241, allocations: 1.767 MB / 1.026 GB, free: 9.184 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches