Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0008721/0.0008721, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003187/0.003187, allocations: 162.8 kB / 24.38 MB, free: 8.484 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.9042/0.9042, allocations: 177.2 MB / 204.8 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.907/1.907, allocations: 389.6 MB / 0.6356 GB, free: 12.18 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.383e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002888/0.002902, allocations: 2.557 MB / 0.7781 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.004579, allocations: 1.262 MB / 0.7793 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.004684, allocations: 8.656 kB / 0.7793 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.005056, allocations: 101 kB / 0.7794 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.005339, allocations: 178.9 kB / 0.7796 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.005636, allocations: 157.7 kB / 0.7797 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.005908, allocations: 334.8 kB / 0.78 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.006129, allocations: 190.2 kB / 0.7802 GB, free: 392 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.006331, allocations: 184.6 kB / 0.7804 GB, free: 208 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.006543, allocations: 148.3 kB / 0.7805 GB, free: 60 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.006569, allocations: 20 kB / 0.7806 GB, free: 40 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.006789, allocations: 164.5 kB / 0.7807 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.006869, allocations: 111.7 kB / 0.7808 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.006934, allocations: 84.69 kB / 0.7809 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.00722, allocations: 299 kB / 0.7812 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.007222, allocations: 0 / 0.7812 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.31e-07/0.007223, allocations: 1.438 kB / 0.7812 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.007227, allocations: 0 / 0.7812 GB, free: 15.39 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004871/0.007714, allocations: 452.7 kB / 0.7816 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.00774, allocations: 10.03 kB / 0.7816 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/0.008382, allocations: 120.6 kB / 0.7817 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.008582, allocations: 185.4 kB / 0.7819 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.008596, allocations: 16.88 kB / 0.7819 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.008653, allocations: 25.41 kB / 0.782 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.008895, allocations: 279.7 kB / 0.7822 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.008907, allocations: 8.688 kB / 0.7822 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.008926, allocations: 12.12 kB / 0.7822 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.00898, allocations: 33.41 kB / 0.7823 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.009092, allocations: 84.17 kB / 0.7824 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.009828, allocations: 0.8434 MB / 0.7832 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.009993, allocations: 152.8 kB / 0.7833 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.01003, allocations: 36.84 kB / 0.7834 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.01008, allocations: 13.86 kB / 0.7834 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.0101, allocations: 38.5 kB / 0.7834 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/0.0101, allocations: 0 / 0.7834 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005018/0.01061, allocations: 360.3 kB / 0.7838 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.01063, allocations: 56.12 kB / 0.7838 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.01072, allocations: 178.5 kB / 0.784 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01073, allocations: 30.77 kB / 0.784 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.01079, allocations: 160.5 kB / 0.7842 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.01082, allocations: 71.38 kB / 0.7842 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.01089, allocations: 54.48 kB / 0.7843 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.01096, allocations: 326.8 kB / 0.7846 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.01099, allocations: 28.52 kB / 0.7846 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.01106, allocations: 92.2 kB / 0.7847 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.01118, allocations: 137.4 kB / 0.7848 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01118, allocations: 4 kB / 0.7848 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002641/0.01144, allocations: 201.4 kB / 0.785 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01146, allocations: 11.98 kB / 0.785 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01146, allocations: 0 / 0.785 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.01176, allocations: 100.3 kB / 0.7851 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01187, allocations: 47.91 kB / 0.7852 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008252/0.0127, allocations: 1.347 MB / 0.7865 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.01278, allocations: 8 kB / 0.7865 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.0128, allocations: 16.95 kB / 0.7865 GB, free: 9.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.01287, allocations: 125.6 kB / 0.7866 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.0129, allocations: 11.98 kB / 0.7867 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.01307, allocations: 151.1 kB / 0.7868 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01307, allocations: 4 kB / 0.7868 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.01307, allocations: 0 / 0.7868 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01308, allocations: 5.078 kB / 0.7868 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.01341, allocations: 412 kB / 0.7872 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01341, allocations: 1.531 kB / 0.7872 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.0136, allocations: 67.88 kB / 0.7873 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.0136, allocations: 8.938 kB / 0.7873 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.01361, allocations: 0 / 0.7873 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.01361, allocations: 8.125 kB / 0.7873 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01361, allocations: 0.875 kB / 0.7873 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.01381, allocations: 307.9 kB / 0.7876 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.01385, allocations: 32.59 kB / 0.7876 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01387, allocations: 8 kB / 0.7876 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.01394, allocations: 0.5 kB / 0.7876 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.01396, allocations: 22.88 kB / 0.7876 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01397, allocations: 4 kB / 0.7876 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.014, allocations: 47.31 kB / 0.7877 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.014, allocations: 0 / 0.7877 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001901/0.01419, allocations: 68 kB / 0.7878 GB, free: 8.27 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 8.805e-05/0.01428, allocations: 80.42 kB / 0.7878 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.01457, allocations: 270.1 kB / 0.7881 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.01458, allocations: 5.438 kB / 0.7881 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.216e-05/0.01463, allocations: 62.12 kB / 0.7882 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.0148, allocations: 36.39 kB / 0.7882 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.01582, allocations: 0.5206 MB / 0.7887 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.773e-05/0.01588, allocations: 108.1 kB / 0.7888 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.246e-05/0.01595, allocations: 29.59 kB / 0.7888 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.01605, allocations: 91.33 kB / 0.7889 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01605, allocations: 1.062 kB / 0.7889 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.004302/0.02036, allocations: 2.985 MB / 0.7918 GB, free: 4.16 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & (cd run_cvode && ../Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.978900182060897]