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.001779/0.001779, allocations: 117.7 kB / 17.13 MB, free: 5.941 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.002261/0.002261, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.685/2.685, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] 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.001982/0.001982, allocations: 79.88 kB / 1.057 GB, free: 1.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3037, allocations: 160.7 MB / 1.214 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001788/0.3055, allocations: 0.666 MB / 1.215 GB, free: 212 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.307, allocations: 1.203 MB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.307, allocations: 0 / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.307, allocations: 3.938 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.3071, allocations: 11.92 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.3078, allocations: 219.2 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.308, allocations: 171.8 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.446e-05/0.3081, allocations: 8 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.3082, allocations: 71.81 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3083, allocations: 71.77 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.3083, allocations: 16 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.3084, allocations: 23.98 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.3084, allocations: 8 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.3085, allocations: 63.81 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.3087, allocations: 147.6 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3088, allocations: 8 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3088, allocations: 0 / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3088, allocations: 0 / 1.217 GB, free: 14.19 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.0005599/0.3093, allocations: 434.6 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3094, allocations: 16.02 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.3094, allocations: 8.891 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3095, allocations: 172.3 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3096, allocations: 8.312 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.3096, allocations: 12.38 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3097, allocations: 54.23 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3097, allocations: 4.125 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3097, allocations: 3.938 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3097, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.3098, allocations: 19.98 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.3103, allocations: 352.7 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.3104, allocations: 38.52 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.3104, allocations: 16.94 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.3104, allocations: 0 / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.3105, allocations: 75.38 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3105, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002643/0.3108, allocations: 113.5 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3108, allocations: 55.41 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.311, allocations: 121.8 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.311, allocations: 33.7 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.3111, allocations: 92.09 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3111, allocations: 19.89 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-05/0.3112, allocations: 45.69 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3113, allocations: 322.8 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3115, allocations: 59.97 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.3117, allocations: 96.19 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.3119, allocations: 156.1 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3119, allocations: 8 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004689/0.3123, allocations: 268.9 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.3124, allocations: 67.39 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3124, allocations: 0 / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3124, allocations: 4 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-05/0.3124, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3124, allocations: 4.312 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.3128, allocations: 51.89 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3128, allocations: 12.02 kB / 1.219 GB, free: 11.19 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.0001169/0.3129, allocations: 133.7 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.3129, allocations: 7.953 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.313, allocations: 8.375 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.313, allocations: 7.984 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.313, allocations: 0 / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.313, allocations: 3.984 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.3132, allocations: 185.5 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3132, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-06/0.3132, allocations: 4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3132, allocations: 0 / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3132, allocations: 7.984 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3132, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3132, allocations: 3.984 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.3134, allocations: 116.9 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.3134, allocations: 77.11 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3134, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.3134, allocations: 8 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.3135, allocations: 11.98 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3135, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.3136, allocations: 91.27 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3136, allocations: 0 / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002459/0.3138, allocations: 32 kB / 1.22 GB, free: 10.4 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.0001549/0.314, allocations: 99.25 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.3143, allocations: 231 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3143, allocations: 0 / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.3144, allocations: 31.92 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.3146, allocations: 19.92 kB / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.315, allocations: 180.3 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3153, allocations: 0.6886 MB / 1.221 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.3153, allocations: 19.44 kB / 1.221 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3153, allocations: 0 / 1.221 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of Templates: time 0.003236/0.3186, allocations: 1.41 MB / 1.223 GB, free: 7.652 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.329732965910807]