Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009258/0.0009258, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00144/0.00144, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9105/0.9105, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 112 / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.215e-05, allocations: 14.78 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003513/0.003535, allocations: 2.483 MB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004937, allocations: 1.239 MB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.005028, allocations: 7.938 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.005405, allocations: 95.5 kB / 0.7913 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.005648, allocations: 180.4 kB / 0.7915 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.005863, allocations: 165.1 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.006108, allocations: 335.5 kB / 0.7919 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.006338, allocations: 173 kB / 0.7921 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.006535, allocations: 197.1 kB / 0.7923 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.006741, allocations: 155.6 kB / 0.7924 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.006769, allocations: 20 kB / 0.7925 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.006937, allocations: 153.2 kB / 0.7926 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.007021, allocations: 115.7 kB / 0.7927 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.007091, allocations: 87.77 kB / 0.7928 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.007364, allocations: 291.1 kB / 0.7931 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.007365, allocations: 0 / 0.7931 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.007366, allocations: 0.8125 kB / 0.7931 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.007369, allocations: 0 / 0.7931 GB, free: 6.504 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.0005407/0.00791, allocations: 0.5811 MB / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.007941, allocations: 8.031 kB / 0.7937 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.008321, allocations: 112.6 kB / 0.7938 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.008499, allocations: 204.1 kB / 0.794 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.008513, allocations: 13.59 kB / 0.794 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.008575, allocations: 32.5 kB / 0.794 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.008813, allocations: 288 kB / 0.7943 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.008823, allocations: 4.125 kB / 0.7943 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.008841, allocations: 12.12 kB / 0.7943 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.008896, allocations: 33.22 kB / 0.7943 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.009016, allocations: 95.88 kB / 0.7944 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.009799, allocations: 1.134 MB / 0.7955 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.009961, allocations: 115 kB / 0.7956 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.01, allocations: 44.81 kB / 0.7957 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.01006, allocations: 12 kB / 0.7957 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.01008, allocations: 45.83 kB / 0.7957 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.01009, allocations: 1.438 kB / 0.7957 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0004984/0.01058, allocations: 396.6 kB / 0.7961 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.0106, allocations: 55.41 kB / 0.7962 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.01073, allocations: 234.2 kB / 0.7964 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.01074, allocations: 25.7 kB / 0.7964 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.01081, allocations: 212.5 kB / 0.7966 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.01085, allocations: 75.36 kB / 0.7967 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.01091, allocations: 63.33 kB / 0.7967 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01103, allocations: 0.5047 MB / 0.7972 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.01107, allocations: 31.97 kB / 0.7973 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.01115, allocations: 114.2 kB / 0.7974 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.01129, allocations: 166.5 kB / 0.7975 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01129, allocations: 0 / 0.7975 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003174/0.01161, allocations: 258.8 kB / 0.7978 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01162, allocations: 7.125 kB / 0.7978 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01162, allocations: 0 / 0.7978 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.01194, allocations: 104.7 kB / 0.7979 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01205, allocations: 43.91 kB / 0.7979 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.01311, allocations: 1.903 MB / 0.7998 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.01319, allocations: 11.98 kB / 0.7998 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.0132, allocations: 4 kB / 0.7998 GB, free: 15.19 MB / 0.7605 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 8.636e-05/0.01329, allocations: 168.5 kB / 0.8 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.01332, allocations: 23.84 kB / 0.8 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.01351, allocations: 170.5 kB / 0.8001 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01351, allocations: 4 kB / 0.8001 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01351, allocations: 1.062 kB / 0.8002 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01352, allocations: 3.984 kB / 0.8002 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.0139, allocations: 466 kB / 0.8006 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.0139, allocations: 3.938 kB / 0.8006 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.01404, allocations: 56.41 kB / 0.8007 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01404, allocations: 0.875 kB / 0.8007 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01405, allocations: 4 kB / 0.8007 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01405, allocations: 0 / 0.8007 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01405, allocations: 5.094 kB / 0.8007 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.01429, allocations: 358.8 kB / 0.801 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.01433, allocations: 33.22 kB / 0.801 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.01435, allocations: 4 kB / 0.801 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.01442, allocations: 4 kB / 0.801 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.01444, allocations: 11.97 kB / 0.8011 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01445, allocations: 8.906 kB / 0.8011 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.01451, allocations: 169.4 kB / 0.8012 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01451, allocations: 0.6562 kB / 0.8012 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002088/0.01472, allocations: 67.94 kB / 0.8013 GB, free: 13.58 MB / 0.7605 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 0.0001004/0.01482, allocations: 109.8 kB / 0.8014 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.01514, allocations: 342.2 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01515, allocations: 0 / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/0.0152, allocations: 62.72 kB / 0.8018 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01543, allocations: 40.56 kB / 0.8018 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.01622, allocations: 0.5373 MB / 0.8023 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.01627, allocations: 100.3 kB / 0.8024 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.275e-05/0.01635, allocations: 25.95 kB / 0.8025 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.01645, allocations: 114.2 kB / 0.8026 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/0.01645, allocations: 0 / 0.8026 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.004367/0.02082, allocations: 2.975 MB / 0.8055 GB, free: 9.242 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.684483319055289]