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.00146/0.00146, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001695/0.001695, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 178] 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 3.204/3.204, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.194e-06/2.194e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.222e-05, allocations: 6.109 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001895/0.001927, allocations: 0.6474 MB / 0.8782 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.003987, allocations: 1.209 MB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.004037, allocations: 0 / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.00407, allocations: 5.828 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.00416, allocations: 21.39 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.004849, allocations: 209 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.005157, allocations: 172.4 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.005241, allocations: 11.98 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.005425, allocations: 101.3 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.005574, allocations: 51.8 kB / 0.88 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.005617, allocations: 16 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-05/0.005706, allocations: 33.06 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.005728, allocations: 4 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.005828, allocations: 55.88 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.006137, allocations: 187 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.00614, allocations: 0 / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006142, allocations: 0 / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.006146, allocations: 0 / 0.8802 GB, free: 3.797 MB / 0.8386 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.0006175/0.006763, allocations: 353.6 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.006802, allocations: 12.03 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.006883, allocations: 12.92 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.007039, allocations: 121.7 kB / 0.8807 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.00706, allocations: 4.375 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.0071, allocations: 12.91 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.007233, allocations: 54.23 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.007241, allocations: 5.594 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.007252, allocations: 384 / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.007257, allocations: 384 / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.007312, allocations: 19.92 kB / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.007822, allocations: 274 kB / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.007929, allocations: 30.52 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.007972, allocations: 20.94 kB / 0.8811 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.007985, allocations: 4 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.008199, allocations: 83.3 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.008201, allocations: 0 / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003233/0.008524, allocations: 117.5 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.008579, allocations: 55.39 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.008708, allocations: 117.8 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.008752, allocations: 33.7 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.008852, allocations: 84.14 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.008879, allocations: 23.83 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.008992, allocations: 45.69 kB / 0.8817 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.009174, allocations: 318.8 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.00938, allocations: 127.4 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.009603, allocations: 151.7 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.00986, allocations: 163.5 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009862, allocations: 4 kB / 0.8824 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006638/0.01053, allocations: 332.2 kB / 0.8827 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.872e-05/0.01061, allocations: 75.52 kB / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01062, allocations: 0 / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.01064, allocations: 0 / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.588e-05/0.01067, allocations: 7.984 kB / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01067, allocations: 0 / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.01106, allocations: 55.89 kB / 0.8828 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.0111, allocations: 12 kB / 0.8829 GB, free: 0.832 MB / 0.8386 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.0001312/0.01123, allocations: 129.8 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.01126, allocations: 11.94 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.01128, allocations: 4.438 kB / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01129, allocations: 7.938 kB / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.01129, allocations: 0 / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.0113, allocations: 0 / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.01144, allocations: 125.2 kB / 0.8831 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01144, allocations: 4 kB / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-06/0.01145, allocations: 0 / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.01146, allocations: 3.938 kB / 0.8831 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01146, allocations: 8 kB / 0.8831 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01147, allocations: 4 kB / 0.8831 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01147, allocations: 0 / 0.8831 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.01167, allocations: 109.1 kB / 0.8832 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.01168, allocations: 15.89 kB / 0.8833 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.01171, allocations: 11.91 kB / 0.8833 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.01173, allocations: 4 kB / 0.8833 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.01179, allocations: 11.98 kB / 0.8833 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.01179, allocations: 0 / 0.8833 GB, free: 340 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.01186, allocations: 87.28 kB / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01186, allocations: 0 / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002583/0.01212, allocations: 35.98 kB / 0.8834 GB, free: 216 kB / 0.8386 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.0001735/0.01229, allocations: 99.25 kB / 0.8835 GB, free: 108 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.01276, allocations: 278.1 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01276, allocations: 0 / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.01282, allocations: 31.91 kB / 0.8838 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.01309, allocations: 27.09 kB / 0.8838 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.01353, allocations: 165.3 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.01363, allocations: 67.34 kB / 0.884 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.01367, allocations: 11.84 kB / 0.8841 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.0137, allocations: 12.5 kB / 0.8841 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.0137, allocations: 0 / 0.8841 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of Templates: time 0.006273/0.01998, allocations: 2.072 MB / 0.8861 GB, free: 13.43 MB / 0.8542 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.257683653966524]