Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001143/0.001143, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009757/0.0009757, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9494/0.9494, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.325/2.325, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.869e-06/4.869e-06, allocations: 4 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.534e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002452/0.002487, allocations: 0.6722 MB / 0.8904 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.004359, allocations: 1.221 MB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.004429, allocations: 4 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.004464, allocations: 3.938 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.004573, allocations: 15.86 kB / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.005314, allocations: 211.5 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.005629, allocations: 175.6 kB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.00574, allocations: 15.94 kB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.005924, allocations: 95.91 kB / 0.8921 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.006069, allocations: 55.84 kB / 0.8922 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.006108, allocations: 12 kB / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.006212, allocations: 35.98 kB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.006239, allocations: 4 kB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.006313, allocations: 55.88 kB / 0.8923 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.006546, allocations: 135.7 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.00655, allocations: 0 / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006551, allocations: 0 / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.006556, allocations: 0 / 0.8924 GB, free: 7.043 MB / 0.8542 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.0005929/0.007149, allocations: 471.8 kB / 0.8928 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.007202, allocations: 12.62 kB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/0.007272, allocations: 16.83 kB / 0.8929 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.007378, allocations: 108.6 kB / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.007398, allocations: 8.375 kB / 0.893 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.007429, allocations: 12.36 kB / 0.893 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.00753, allocations: 42.25 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.00754, allocations: 192 / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.007549, allocations: 384 / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.007558, allocations: 8.312 kB / 0.893 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.007586, allocations: 15.92 kB / 0.8931 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.008058, allocations: 312.3 kB / 0.8934 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/0.008149, allocations: 31.06 kB / 0.8934 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.008173, allocations: 15.77 kB / 0.8934 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.008182, allocations: 8 kB / 0.8934 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.008327, allocations: 84.95 kB / 0.8935 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.00833, allocations: 0 / 0.8935 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002332/0.008563, allocations: 89.56 kB / 0.8936 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.008604, allocations: 63.33 kB / 0.8936 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.008707, allocations: 173.9 kB / 0.8938 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.008735, allocations: 29.7 kB / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.008809, allocations: 142.8 kB / 0.894 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.008828, allocations: 15.89 kB / 0.894 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.008922, allocations: 59.33 kB / 0.894 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.009165, allocations: 0.4884 MB / 0.8945 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.009279, allocations: 99.36 kB / 0.8946 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.009406, allocations: 149.8 kB / 0.8948 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.009554, allocations: 153.8 kB / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.009557, allocations: 0 / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003627/0.009919, allocations: 296.9 kB / 0.8952 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.144e-05/0.009981, allocations: 79.27 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.009988, allocations: 0 / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01001, allocations: 7.984 kB / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.096e-05/0.01003, allocations: 0 / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01003, allocations: 4 kB / 0.8953 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.01025, allocations: 39.92 kB / 0.8953 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.01027, allocations: 15.92 kB / 0.8953 GB, free: 3.715 MB / 0.8542 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.0001039/0.01038, allocations: 176.5 kB / 0.8955 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.0104, allocations: 11.95 kB / 0.8955 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.01043, allocations: 20.34 kB / 0.8955 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01044, allocations: 3.938 kB / 0.8955 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01044, allocations: 0 / 0.8955 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01044, allocations: 0 / 0.8955 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.01055, allocations: 113.2 kB / 0.8956 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01055, allocations: 0 / 0.8956 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.01056, allocations: 0 / 0.8956 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01056, allocations: 0 / 0.8956 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.01057, allocations: 4 kB / 0.8956 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01057, allocations: 4 kB / 0.8956 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.01058, allocations: 8 kB / 0.8957 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.01071, allocations: 112.4 kB / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.01072, allocations: 3.984 kB / 0.8958 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.01073, allocations: 4 kB / 0.8958 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.01076, allocations: 0 / 0.8958 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.0108, allocations: 15.86 kB / 0.8958 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.0108, allocations: 4 kB / 0.8958 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.01086, allocations: 139.1 kB / 0.8959 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01086, allocations: 0 / 0.8959 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002466/0.01111, allocations: 24 kB / 0.8959 GB, free: 3.023 MB / 0.8542 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.0001701/0.01128, allocations: 103.2 kB / 0.896 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.01155, allocations: 268.3 kB / 0.8963 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01156, allocations: 0 / 0.8963 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.01159, allocations: 27.66 kB / 0.8963 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01183, allocations: 16.53 kB / 0.8963 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.01214, allocations: 166.9 kB / 0.8965 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.01218, allocations: 59.34 kB / 0.8966 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.01221, allocations: 4 kB / 0.8966 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.01235, allocations: 106.2 kB / 0.8967 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/0.01235, allocations: 0 / 0.8967 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of Templates: time 0.005442/0.0178, allocations: 2.256 MB / 0.8989 GB, free: 15.97 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2405941700562835]