Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.002489/0.002489, allocations: 81.5 kB / 19.44 MB, free: 340 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.002137/0.002137, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.649/1.649, allocations: 177.1 MB / 203.1 MB, free: 5.254 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.487/3.487, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.863e-05, allocations: 5.406 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.003304/0.003343, allocations: 0.841 MB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.005088, allocations: 0.9238 MB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.005168, allocations: 0 / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.005302, allocations: 11.86 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.005436, allocations: 23.8 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.005662, allocations: 55.86 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.005886, allocations: 127.7 kB / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.00604, allocations: 38.78 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.006211, allocations: 79.8 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.006388, allocations: 63.84 kB / 0.8796 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.006434, allocations: 12 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-05/0.006465, allocations: 12.62 kB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.006537, allocations: 31.89 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.006604, allocations: 41.56 kB / 0.8797 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.006866, allocations: 151.5 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.00687, allocations: 0 / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006871, allocations: 0 / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.006877, allocations: 0.5 kB / 0.8798 GB, free: 4.27 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009233/0.007801, allocations: 464.6 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.007839, allocations: 8.031 kB / 0.8803 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.007919, allocations: 25.41 kB / 0.8803 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.008184, allocations: 149 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.008208, allocations: 13.92 kB / 0.8804 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.008232, allocations: 8.375 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.008594, allocations: 123.4 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.008603, allocations: 7.938 kB / 0.8806 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.008622, allocations: 4 kB / 0.8806 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.008627, allocations: 7.938 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.009034, allocations: 103.9 kB / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.0098, allocations: 391.4 kB / 0.8811 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007981/0.0106, allocations: 143 kB / 0.8812 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.0108, allocations: 63.83 kB / 0.8813 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.01084, allocations: 7.984 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.01087, allocations: 41.33 kB / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.01088, allocations: 0 / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0007567/0.01163, allocations: 201.6 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.01169, allocations: 55.41 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01191, allocations: 227.1 kB / 0.8818 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.01194, allocations: 25.7 kB / 0.8818 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01207, allocations: 162.7 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.01211, allocations: 27.75 kB / 0.882 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.01221, allocations: 39.36 kB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002797/0.01249, allocations: 0.4962 MB / 0.8825 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.01269, allocations: 51.95 kB / 0.8825 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.01287, allocations: 47.97 kB / 0.8826 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.01326, allocations: 115.6 kB / 0.8827 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01326, allocations: 0 / 0.8827 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004742/0.01373, allocations: 153.5 kB / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01375, allocations: 8 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01376, allocations: 0 / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01378, allocations: 3.938 kB / 0.8829 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.01402, allocations: 31.97 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.01403, allocations: 4 kB / 0.8829 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.01415, allocations: 8 kB / 0.8829 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.01418, allocations: 7.984 kB / 0.8829 GB, free: 0.8984 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001603/0.01434, allocations: 164.5 kB / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.01439, allocations: 19.91 kB / 0.8831 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.01445, allocations: 16.77 kB / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.01446, allocations: 7.938 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.01447, allocations: 4 kB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01447, allocations: 0 / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.01475, allocations: 172.6 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01475, allocations: 0 / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.01496, allocations: 35.91 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01496, allocations: 0 / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01498, allocations: 4 kB / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01498, allocations: 0 / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01499, allocations: 3.938 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.01557, allocations: 307.7 kB / 0.8836 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.0156, allocations: 15.89 kB / 0.8836 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.01563, allocations: 4 kB / 0.8836 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.01579, allocations: 11.98 kB / 0.8836 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.01592, allocations: 39.89 kB / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.01594, allocations: 4 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001509/0.01609, allocations: 157 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01609, allocations: 0 / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002594/0.01635, allocations: 24 kB / 0.8838 GB, free: 15.86 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001582/0.01651, allocations: 99.25 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.01701, allocations: 127.5 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01701, allocations: 0 / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.01728, allocations: 92.5 kB / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.01761, allocations: 23.94 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.01831, allocations: 242.5 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.01843, allocations: 97.17 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.01854, allocations: 16.48 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.01865, allocations: 32.42 kB / 0.8845 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.01865, allocations: 0 / 0.8845 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.007411/0.02606, allocations: 2.602 MB / 0.8871 GB, free: 12.52 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.747318462003022]