Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 108 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.422/3.422, allocations: 0.4899 GB / 0.7915 GB, free: 33.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 69.03 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4284, allocations: 176.1 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002125/0.4306, allocations: 0.659 MB / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.4323, allocations: 1.222 MB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.4324, allocations: 0 / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.4324, allocations: 3.938 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.026e-05/0.4325, allocations: 7.938 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.4332, allocations: 229.8 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.4335, allocations: 171.7 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4336, allocations: 11.98 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4337, allocations: 67.89 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.4339, allocations: 59.84 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.4339, allocations: 16 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.434, allocations: 31.98 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.434, allocations: 19.92 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.4341, allocations: 51.89 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.4344, allocations: 159.5 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4344, allocations: 0 / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4344, allocations: 0 / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4344, allocations: 3.938 kB / 1.324 GB, free: 176 kB / 1.014 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.0007239/0.4351, allocations: 438.7 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4352, allocations: 15.98 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.4352, allocations: 8.938 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.4354, allocations: 176.3 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.4354, allocations: 4.375 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.4355, allocations: 16.38 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4356, allocations: 46.23 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4356, allocations: 192 / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4356, allocations: 3.938 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4356, allocations: 0 / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.4357, allocations: 23.98 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.4363, allocations: 352.7 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.4364, allocations: 38.52 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.4364, allocations: 16.94 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.4364, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.4366, allocations: 83.22 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.4366, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002923/0.4369, allocations: 101.6 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.4369, allocations: 63.39 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4371, allocations: 121.7 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.4371, allocations: 33.7 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.4372, allocations: 88.14 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.4372, allocations: 19.88 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4373, allocations: 45.69 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4375, allocations: 326.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4377, allocations: 67.95 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.4378, allocations: 88.58 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.4381, allocations: 167.6 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4381, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004846/0.4385, allocations: 264.8 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.4386, allocations: 67.39 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4386, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.4386, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.39e-05/0.4387, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4387, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.439, allocations: 59.95 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.4391, allocations: 16.3 kB / 1.327 GB, free: 13.16 MB / 1.029 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.0001229/0.4392, allocations: 121.8 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.4392, allocations: 4 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.4392, allocations: 8.375 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4392, allocations: 4 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4392, allocations: 3.984 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4392, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.4394, allocations: 181.5 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4394, allocations: 4.062 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/0.4394, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4394, allocations: 3.984 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.4394, allocations: 4 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4394, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4394, allocations: 3.984 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.4396, allocations: 125 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.4397, allocations: 81.06 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.4397, allocations: 4 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.4397, allocations: 4 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.4398, allocations: 11.92 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.4398, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.4398, allocations: 95.2 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4398, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000248/0.4401, allocations: 32 kB / 1.327 GB, free: 12.38 MB / 1.029 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.0001767/0.4403, allocations: 107.2 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.4406, allocations: 226.6 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4406, allocations: 0 / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.4407, allocations: 19.94 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.4409, allocations: 21.48 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.4414, allocations: 166.8 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.4418, allocations: 0.6846 MB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.4419, allocations: 4 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.4419, allocations: 11.44 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4419, allocations: 0 / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Templates: time 0.005323/0.4472, allocations: 1.862 MB / 1.33 GB, free: 9.219 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.653364443220198]