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.001246/0.001246, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001419/0.001419, allocations: 161 kB / 23.82 MB, free: 0.75 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.9525/0.9525, allocations: 177.2 MB / 204.2 MB, free: 5.625 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.775/1.775, allocations: 359 MB / 0.6052 GB, free: 11.01 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 3.577e-06/3.577e-06, allocations: 4 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.362e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00494/0.004974, allocations: 2.512 MB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.007631, allocations: 1.252 MB / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.007853, allocations: 4 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.008527, allocations: 97 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.009167, allocations: 181 kB / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.009775, allocations: 171.5 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.01029, allocations: 325.1 kB / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.0107, allocations: 176.9 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.01113, allocations: 195.5 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.01155, allocations: 147.7 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.01162, allocations: 20 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.01201, allocations: 164.1 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.01216, allocations: 111.7 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.01227, allocations: 81.42 kB / 0.7924 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.0129, allocations: 302.9 kB / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.01291, allocations: 0 / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01291, allocations: 0 / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.01292, allocations: 4.906 kB / 0.7927 GB, free: 6.781 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.0009932/0.01392, allocations: 0.5707 MB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.01396, allocations: 13.31 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.01478, allocations: 136.6 kB / 0.7934 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.01516, allocations: 198.6 kB / 0.7935 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.01519, allocations: 20.88 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.01531, allocations: 28.45 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.01582, allocations: 307.2 kB / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.01584, allocations: 192 / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.01587, allocations: 12.83 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.01598, allocations: 36.47 kB / 0.7939 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.01631, allocations: 123.3 kB / 0.7941 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.01795, allocations: 1.192 MB / 0.7952 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.01832, allocations: 142.9 kB / 0.7954 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01842, allocations: 49.2 kB / 0.7954 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.01854, allocations: 12 kB / 0.7954 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.01857, allocations: 46.44 kB / 0.7955 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/0.01857, allocations: 0 / 0.7955 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001074/0.01965, allocations: 460.2 kB / 0.7959 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.01968, allocations: 51.41 kB / 0.7959 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.01989, allocations: 237.8 kB / 0.7962 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.01991, allocations: 29.7 kB / 0.7962 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.02002, allocations: 212.9 kB / 0.7964 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.02008, allocations: 75.41 kB / 0.7965 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.02018, allocations: 63.31 kB / 0.7965 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.02033, allocations: 0.504 MB / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.02045, allocations: 43.97 kB / 0.7971 GB, free: 2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.02062, allocations: 126.6 kB / 0.7972 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.02089, allocations: 182.2 kB / 0.7974 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.0209, allocations: 4 kB / 0.7974 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006254/0.02152, allocations: 277.8 kB / 0.7976 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.02155, allocations: 8 kB / 0.7976 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.02155, allocations: 0 / 0.7976 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.02216, allocations: 108.4 kB / 0.7977 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.02238, allocations: 51.89 kB / 0.7978 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.02412, allocations: 1.918 MB / 0.7997 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.02431, allocations: 15.98 kB / 0.7997 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.02434, allocations: 20.11 kB / 0.7997 GB, free: 15.13 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.0001436/0.02448, allocations: 164.6 kB / 0.7999 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.02454, allocations: 23.84 kB / 0.7999 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.02492, allocations: 189.7 kB / 0.8001 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02492, allocations: 0 / 0.8001 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.02492, allocations: 0 / 0.8001 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.02493, allocations: 0 / 0.8001 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007354/0.02566, allocations: 0.5194 MB / 0.8006 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.02567, allocations: 4 kB / 0.8006 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.02595, allocations: 61.02 kB / 0.8006 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.02596, allocations: 7.984 kB / 0.8006 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.02598, allocations: 1.031 kB / 0.8006 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.02598, allocations: 7.984 kB / 0.8006 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02599, allocations: 0 / 0.8006 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.02646, allocations: 377.9 kB / 0.801 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.02656, allocations: 47.75 kB / 0.8011 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.0266, allocations: 4.531 kB / 0.8011 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.02676, allocations: 15.98 kB / 0.8011 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.0268, allocations: 9.641 kB / 0.8011 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.02682, allocations: 11.92 kB / 0.8011 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001298/0.02695, allocations: 169.4 kB / 0.8013 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/0.02695, allocations: 0 / 0.8013 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002715/0.02722, allocations: 68.47 kB / 0.8013 GB, free: 13.39 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.0001642/0.02739, allocations: 108.6 kB / 0.8014 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.02787, allocations: 362.6 kB / 0.8018 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.02787, allocations: 0 / 0.8018 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.02795, allocations: 71.53 kB / 0.8018 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.02821, allocations: 36.98 kB / 0.8019 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.02926, allocations: 0.545 MB / 0.8024 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.98e-05/0.02933, allocations: 104.3 kB / 0.8025 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.733e-05/0.02942, allocations: 41.91 kB / 0.8025 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.02947, allocations: 20.5 kB / 0.8026 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of SimCode: time 1.243e-06/0.02948, allocations: 0 / 0.8026 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of Templates: time 0.005106/0.03458, allocations: 2.919 MB / 0.8054 GB, free: 9.137 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.0361519432626665]