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.001782/0.001782, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001539/0.001539, allocations: 167.3 kB / 22.46 MB, free: 5.371 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.52/1.52, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.972/2.972, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.156e-06/3.156e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.948e-05, allocations: 5.656 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002318/0.002358, allocations: 0.6492 MB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.004457, allocations: 1.213 MB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.004522, allocations: 4 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.004558, allocations: 3.938 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.004637, allocations: 7.938 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.005471, allocations: 224.9 kB / 0.9835 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.005757, allocations: 179.6 kB / 0.9837 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.005855, allocations: 11.98 kB / 0.9837 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.006036, allocations: 91.92 kB / 0.9838 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.006173, allocations: 51.84 kB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.006216, allocations: 16 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.006303, allocations: 27.98 kB / 0.9838 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.006326, allocations: 4 kB / 0.9838 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.092e-05/0.006417, allocations: 59.88 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.006715, allocations: 191.5 kB / 0.9841 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.006719, allocations: 0 / 0.9841 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006721, allocations: 0 / 0.9841 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.006728, allocations: 0 / 0.9841 GB, free: 9.246 MB / 0.9356 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.0005517/0.00728, allocations: 361.6 kB / 0.9844 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.007317, allocations: 8.031 kB / 0.9844 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.007385, allocations: 16.88 kB / 0.9845 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.007504, allocations: 113.7 kB / 0.9846 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.007524, allocations: 4.375 kB / 0.9846 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.007563, allocations: 12.38 kB / 0.9846 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.007692, allocations: 50.23 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.007701, allocations: 4.188 kB / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.007711, allocations: 384 / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.007715, allocations: 384 / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.007768, allocations: 23.88 kB / 0.9847 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.008269, allocations: 280.5 kB / 0.9849 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.008357, allocations: 26.58 kB / 0.985 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.008397, allocations: 20.94 kB / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.008408, allocations: 0 / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.008609, allocations: 83.25 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.008611, allocations: 8 kB / 0.9851 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002772/0.008888, allocations: 101.6 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.008955, allocations: 59.41 kB / 0.9852 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.00908, allocations: 125.7 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.00912, allocations: 29.7 kB / 0.9854 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.009196, allocations: 92.09 kB / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.009216, allocations: 19.84 kB / 0.9855 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.009349, allocations: 49.69 kB / 0.9855 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.009515, allocations: 314.8 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.009706, allocations: 123.4 kB / 0.9859 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.009917, allocations: 159.6 kB / 0.9861 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.01014, allocations: 159.6 kB / 0.9862 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.01014, allocations: 4 kB / 0.9862 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005298/0.01067, allocations: 328.2 kB / 0.9866 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.01074, allocations: 67.39 kB / 0.9866 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01074, allocations: 0 / 0.9866 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01076, allocations: 4.125 kB / 0.9866 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.393e-05/0.01078, allocations: 7.938 kB / 0.9866 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.01079, allocations: 4 kB / 0.9866 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.01116, allocations: 55.88 kB / 0.9867 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.01119, allocations: 8 kB / 0.9867 GB, free: 6.285 MB / 0.9356 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.0001238/0.01132, allocations: 122.3 kB / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.01134, allocations: 15.89 kB / 0.9868 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.01137, allocations: 8.438 kB / 0.9868 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.01137, allocations: 4 kB / 0.9868 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01138, allocations: 0 / 0.9868 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01138, allocations: 3.938 kB / 0.9868 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.0115, allocations: 117.3 kB / 0.987 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0115, allocations: 4 kB / 0.987 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.01152, allocations: 7.922 kB / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01152, allocations: 3.938 kB / 0.987 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01153, allocations: 0 / 0.987 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.01154, allocations: 4 kB / 0.987 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01154, allocations: 0 / 0.987 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.01171, allocations: 113.1 kB / 0.9871 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.01172, allocations: 7.938 kB / 0.9871 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01174, allocations: 7.938 kB / 0.9871 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.01176, allocations: 0 / 0.9871 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01181, allocations: 7.984 kB / 0.9871 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.01182, allocations: 4 kB / 0.9871 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.01189, allocations: 91.27 kB / 0.9872 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01189, allocations: 0 / 0.9872 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002585/0.01215, allocations: 32 kB / 0.9872 GB, free: 5.684 MB / 0.9356 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.0002062/0.01236, allocations: 107.7 kB / 0.9873 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.0128, allocations: 286 kB / 0.9876 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.0128, allocations: 0 / 0.9876 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.01286, allocations: 23.98 kB / 0.9876 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.01312, allocations: 20.47 kB / 0.9876 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.0135, allocations: 157.5 kB / 0.9878 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.828e-05/0.01357, allocations: 75.83 kB / 0.9879 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.0136, allocations: 4 kB / 0.9879 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.01363, allocations: 12.5 kB / 0.9879 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.01363, allocations: 4.219 kB / 0.9879 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of Templates: time 0.005879/0.01951, allocations: 2.056 MB / 0.9899 GB, free: 2.914 MB / 0.9356 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: 8.468223713338375]