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.00144/0.00144, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001473/0.001473, allocations: 165 kB / 23.82 MB, free: 0.7422 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.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.656 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.801/1.801, allocations: 359 MB / 0.6052 GB, free: 11.02 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.663e-06/1.663e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.525e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003269/0.003295, allocations: 2.509 MB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.005078, allocations: 1.253 MB / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.005216, allocations: 7.938 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.00563, allocations: 99.48 kB / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.006017, allocations: 179 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.006396, allocations: 165.9 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.006764, allocations: 334.8 kB / 0.7915 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.007047, allocations: 172.9 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.007315, allocations: 192.9 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.007595, allocations: 151.6 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.007628, allocations: 20 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.007917, allocations: 157.2 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.008029, allocations: 119.7 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.008113, allocations: 79.83 kB / 0.7924 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.008531, allocations: 295 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008534, allocations: 1.062 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/0.008536, allocations: 0 / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.008541, allocations: 0 / 0.7926 GB, free: 6.809 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.000654/0.009195, allocations: 0.5715 MB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.009226, allocations: 12.03 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005115/0.009738, allocations: 145.1 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.009987, allocations: 207.2 kB / 0.7935 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.01, allocations: 21.64 kB / 0.7936 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.01008, allocations: 24.56 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.01041, allocations: 312 kB / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.01042, allocations: 192 / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.01044, allocations: 8.125 kB / 0.7939 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.281e-05/0.01051, allocations: 33 kB / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.01072, allocations: 124.2 kB / 0.794 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.01184, allocations: 1.195 MB / 0.7952 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.01208, allocations: 139.6 kB / 0.7953 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.01214, allocations: 51.97 kB / 0.7954 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.507e-05/0.01223, allocations: 8.75 kB / 0.7954 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.01225, allocations: 50.23 kB / 0.7954 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.01225, allocations: 0 / 0.7954 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0007294/0.01298, allocations: 457.7 kB / 0.7959 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.01302, allocations: 51.41 kB / 0.7959 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.01316, allocations: 239 kB / 0.7962 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.01318, allocations: 29.7 kB / 0.7962 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.01327, allocations: 215.1 kB / 0.7964 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.01332, allocations: 68.28 kB / 0.7965 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.01339, allocations: 67.3 kB / 0.7965 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.01353, allocations: 0.5001 MB / 0.797 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.01361, allocations: 46.19 kB / 0.7971 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.01372, allocations: 125.7 kB / 0.7972 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01392, allocations: 189.3 kB / 0.7974 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01392, allocations: 0 / 0.7974 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004169/0.01433, allocations: 271.7 kB / 0.7976 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01435, allocations: 4 kB / 0.7976 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01436, allocations: 4 kB / 0.7976 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.01476, allocations: 108.4 kB / 0.7977 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.01491, allocations: 55.83 kB / 0.7978 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.01611, allocations: 1.922 MB / 0.7997 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.01623, allocations: 15.98 kB / 0.7997 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.01624, allocations: 8 kB / 0.7997 GB, free: 15.15 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 0.0001049/0.01635, allocations: 176.5 kB / 0.7999 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.01639, allocations: 19.84 kB / 0.7999 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.01664, allocations: 186.2 kB / 0.8 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01664, allocations: 5.094 kB / 0.8001 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01664, allocations: 0 / 0.8001 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01664, allocations: 0 / 0.8001 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.01714, allocations: 0.5194 MB / 0.8006 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01714, allocations: 0 / 0.8006 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.0173, allocations: 61.02 kB / 0.8006 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01731, allocations: 0 / 0.8006 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.01732, allocations: 4.969 kB / 0.8006 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01732, allocations: 3.938 kB / 0.8006 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01733, allocations: 4.062 kB / 0.8006 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.01764, allocations: 383.4 kB / 0.801 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.0177, allocations: 36.47 kB / 0.801 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01772, allocations: 13.36 kB / 0.801 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.01781, allocations: 19.92 kB / 0.8011 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.01784, allocations: 7.984 kB / 0.8011 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.01785, allocations: 7.938 kB / 0.8011 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.854e-05/0.01793, allocations: 178.6 kB / 0.8012 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01793, allocations: 0 / 0.8012 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002549/0.01819, allocations: 67.94 kB / 0.8013 GB, free: 13.4 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.0001299/0.01832, allocations: 104.3 kB / 0.8014 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.01876, allocations: 365.6 kB / 0.8018 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01877, allocations: 0 / 0.8018 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.01884, allocations: 69.48 kB / 0.8018 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.0191, allocations: 39.89 kB / 0.8019 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.02009, allocations: 0.5451 MB / 0.8024 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.02016, allocations: 104.3 kB / 0.8025 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.236e-05/0.02025, allocations: 37.92 kB / 0.8025 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.02032, allocations: 24.48 kB / 0.8026 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of SimCode: time 6.32e-07/0.02033, allocations: 3.938 kB / 0.8026 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of Templates: time 0.004562/0.02489, allocations: 2.817 MB / 0.8053 GB, free: 9.254 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: 5.087879287544638]