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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.89 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3859, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002026/0.388, allocations: 0.6737 MB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3897, allocations: 1.203 MB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.3898, allocations: 4 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3898, allocations: 0 / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.3899, allocations: 15.84 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.3906, allocations: 207.4 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.3909, allocations: 175.8 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.391, allocations: 12 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3911, allocations: 71.81 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3913, allocations: 63.83 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.3913, allocations: 16 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.3914, allocations: 31.98 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.3914, allocations: 7.938 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3915, allocations: 63.81 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.3918, allocations: 143.6 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3918, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3918, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.3918, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 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.000814/0.3927, allocations: 446.6 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.3927, allocations: 8.031 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.3928, allocations: 12.89 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.393, allocations: 168.4 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.393, allocations: 20.25 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.3931, allocations: 8.375 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3932, allocations: 54.23 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3932, allocations: 192 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3932, allocations: 7.938 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3932, allocations: 4 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.205e-05/0.3933, allocations: 12 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.3939, allocations: 352.7 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.394, allocations: 42.44 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.394, allocations: 12.86 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3941, allocations: 0 / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.3943, allocations: 91.44 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3943, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003218/0.3946, allocations: 105.6 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.3947, allocations: 59.39 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3949, allocations: 121.8 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.3949, allocations: 29.7 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.395, allocations: 92.09 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.395, allocations: 19.91 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3951, allocations: 49.69 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3953, allocations: 318.8 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3955, allocations: 59.97 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3956, allocations: 96.25 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.3959, allocations: 160 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3959, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004758/0.3963, allocations: 264.8 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/0.3964, allocations: 67.39 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3964, allocations: 4.125 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3964, allocations: 4 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.22e-05/0.3965, allocations: 7.984 kB / 1.221 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3965, allocations: 0 / 1.221 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.3968, allocations: 55.89 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.3969, allocations: 8 kB / 1.221 GB, free: 9.633 MB / 0.9669 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.0001454/0.397, allocations: 137.7 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.397, allocations: 3.953 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.3971, allocations: 16.36 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3971, allocations: 0 / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3971, allocations: 0 / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3971, allocations: 0 / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3973, allocations: 185.5 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3973, allocations: 0 / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.3973, allocations: 7.938 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.3973, allocations: 4 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3973, allocations: 0 / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3973, allocations: 4.062 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3973, allocations: 4 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.3975, allocations: 116.9 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.3975, allocations: 77.11 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3975, allocations: 7.984 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.3976, allocations: 0 / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.3976, allocations: 8 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3976, allocations: 11.98 kB / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.3977, allocations: 87.28 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3977, allocations: 288 / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002274/0.3979, allocations: 27.98 kB / 1.222 GB, free: 8.848 MB / 0.9669 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.0002064/0.3981, allocations: 103.2 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.3986, allocations: 230.5 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3986, allocations: 0 / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.3986, allocations: 32.17 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.3989, allocations: 15.98 kB / 1.222 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.3993, allocations: 166.6 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.3998, allocations: 0.6846 MB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.3998, allocations: 7.984 kB / 1.223 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.3998, allocations: 15.44 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/0.3998, allocations: 0 / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of Templates: time 0.005377/0.4052, allocations: 1.874 MB / 1.225 GB, free: 5.664 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.972553601488471]