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.0008379/0.0008379, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008536/0.0008536, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9099/0.9099, allocations: 177.1 MB / 203.5 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.772/1.772, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.9822 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.754e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001331/0.001358, allocations: 0.6413 MB / 0.9828 GB, free: 304 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002459, allocations: 1.209 MB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.002498, allocations: 4 kB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.002526, allocations: 7.938 kB / 0.984 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.00259, allocations: 15.84 kB / 0.984 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.003059, allocations: 212.8 kB / 0.9842 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.003231, allocations: 179.7 kB / 0.9844 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.003317, allocations: 8 kB / 0.9844 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.00342, allocations: 95.86 kB / 0.9845 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.003516, allocations: 51.91 kB / 0.9846 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.003543, allocations: 19.94 kB / 0.9846 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.003603, allocations: 35.97 kB / 0.9846 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.003628, allocations: 7.938 kB / 0.9846 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.003688, allocations: 51.94 kB / 0.9847 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.003884, allocations: 179.6 kB / 0.9849 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003886, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.402e-06/0.003887, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003891, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.9011 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.0003988/0.00429, allocations: 361.5 kB / 0.9852 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.004326, allocations: 8.031 kB / 0.9852 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.004372, allocations: 16.89 kB / 0.9852 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.663e-05/0.004449, allocations: 117.7 kB / 0.9853 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.004462, allocations: 4.375 kB / 0.9853 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.004483, allocations: 8.375 kB / 0.9853 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.004588, allocations: 58.17 kB / 0.9854 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.004595, allocations: 192 / 0.9854 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.004605, allocations: 4.359 kB / 0.9854 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.00461, allocations: 384 / 0.9854 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.004647, allocations: 15.94 kB / 0.9854 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.005006, allocations: 272.5 kB / 0.9857 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.761e-05/0.005073, allocations: 38.5 kB / 0.9857 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.005095, allocations: 16.86 kB / 0.9857 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.005104, allocations: 3.938 kB / 0.9857 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.005224, allocations: 91.31 kB / 0.9858 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005225, allocations: 4 kB / 0.9858 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0001943/0.005419, allocations: 105.8 kB / 0.9859 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.00545, allocations: 55.41 kB / 0.986 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.005514, allocations: 113.8 kB / 0.9861 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.00554, allocations: 29.7 kB / 0.9861 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.005587, allocations: 96.08 kB / 0.9862 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.005599, allocations: 19.94 kB / 0.9862 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/0.005694, allocations: 49.69 kB / 0.9863 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.005767, allocations: 318.8 kB / 0.9866 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.005881, allocations: 123.4 kB / 0.9867 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.005996, allocations: 151.7 kB / 0.9868 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.006119, allocations: 155.6 kB / 0.987 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006121, allocations: 0 / 0.987 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002885/0.006409, allocations: 336.2 kB / 0.9873 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.006444, allocations: 67.86 kB / 0.9874 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006449, allocations: 0 / 0.9874 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.00646, allocations: 7.938 kB / 0.9874 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.489e-05/0.006475, allocations: 0 / 0.9874 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.006486, allocations: 8.062 kB / 0.9874 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.006675, allocations: 63.89 kB / 0.9875 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.006697, allocations: 20.05 kB / 0.9875 GB, free: 11.25 MB / 0.9011 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 6.511e-05/0.006762, allocations: 117.8 kB / 0.9876 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.006771, allocations: 11.89 kB / 0.9876 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.006793, allocations: 12.42 kB / 0.9876 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006796, allocations: 4 kB / 0.9876 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.006799, allocations: 0 / 0.9876 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006802, allocations: 0 / 0.9876 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.645e-05/0.006868, allocations: 117.2 kB / 0.9877 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006869, allocations: 4 kB / 0.9877 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.006873, allocations: 4 kB / 0.9877 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006875, allocations: 3.938 kB / 0.9877 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.006883, allocations: 3.984 kB / 0.9877 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006884, allocations: 7.938 kB / 0.9877 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006885, allocations: 0 / 0.9877 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.006977, allocations: 109.1 kB / 0.9878 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.006985, allocations: 7.953 kB / 0.9879 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006995, allocations: 3.938 kB / 0.9879 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.007007, allocations: 0 / 0.9879 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.007043, allocations: 11.98 kB / 0.9879 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.007048, allocations: 4 kB / 0.9879 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001056/0.007153, allocations: 99.2 kB / 0.988 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.007153, allocations: 0 / 0.988 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001538/0.007307, allocations: 31.94 kB / 0.988 GB, free: 10.64 MB / 0.9011 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 9.953e-05/0.007407, allocations: 103.8 kB / 0.9881 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.007647, allocations: 274.1 kB / 0.9884 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007649, allocations: 0 / 0.9884 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.007684, allocations: 27.98 kB / 0.9884 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.007843, allocations: 18.77 kB / 0.9884 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.008087, allocations: 195 kB / 0.9886 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.008127, allocations: 71.33 kB / 0.9887 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.008145, allocations: 12.5 kB / 0.9887 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.008146, allocations: 0 / 0.9887 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of Templates: time 0.001956/0.0101, allocations: 1.421 MB / 0.9901 GB, free: 8.449 MB / 0.9011 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: 6.6323943911120296]