Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001234/0.001234, allocations: 93.06 kB / 19.65 MB, free: 280 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.001308/0.001308, allocations: 165 kB / 23.01 MB, free: 1.555 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.9989/0.9989, allocations: 177.1 MB / 203.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 2.131/2.131, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] 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.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.853e-05, allocations: 7.672 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003784/0.003803, allocations: 3.809 MB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.00557, allocations: 1.37 MB / 0.8832 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.005751, allocations: 35.62 kB / 0.8833 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.006233, allocations: 166.1 kB / 0.8834 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.006644, allocations: 355.4 kB / 0.8838 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.006988, allocations: 313.5 kB / 0.8841 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000632/0.00762, allocations: 0.9526 MB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.007977, allocations: 314.4 kB / 0.8853 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.008377, allocations: 494.6 kB / 0.8858 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.008674, allocations: 311 kB / 0.8861 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.008721, allocations: 36 kB / 0.8861 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.008867, allocations: 107.8 kB / 0.8862 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.009007, allocations: 203.4 kB / 0.8864 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.009156, allocations: 207.4 kB / 0.8866 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.009576, allocations: 0.5137 MB / 0.8871 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.009578, allocations: 4 kB / 0.8871 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/0.00958, allocations: 3.984 kB / 0.8871 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.009586, allocations: 0 / 0.8871 GB, free: 13.15 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008126/0.0104, allocations: 0.9469 MB / 0.888 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01043, allocations: 12.03 kB / 0.888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.01173, allocations: 283.9 kB / 0.8883 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.01222, allocations: 0.4912 MB / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.01225, allocations: 33.36 kB / 0.8888 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.0123, allocations: 48.36 kB / 0.8889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.01291, allocations: 0.8571 MB / 0.8897 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.01293, allocations: 12.08 kB / 0.8897 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.01296, allocations: 24.38 kB / 0.8897 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.01303, allocations: 76.83 kB / 0.8898 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.01337, allocations: 305.2 kB / 0.8901 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.01598, allocations: 6.292 MB / 0.8962 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.01628, allocations: 275 kB / 0.8965 GB, free: 3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.0164, allocations: 91.62 kB / 0.8966 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.01642, allocations: 4 kB / 0.8966 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.01644, allocations: 41.39 kB / 0.8966 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 2.315e-06/0.01644, allocations: 0 / 0.8966 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.00111/0.01755, allocations: 0.6908 MB / 0.8973 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.01758, allocations: 55.69 kB / 0.8974 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.01787, allocations: 0.4945 MB / 0.8978 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01789, allocations: 29.7 kB / 0.8979 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.01805, allocations: 415 kB / 0.8983 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.01811, allocations: 123 kB / 0.8984 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.01821, allocations: 111.9 kB / 0.8985 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01833, allocations: 0.5391 MB / 0.899 GB, free: 324 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.01844, allocations: 89.25 kB / 0.8991 GB, free: 236 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.0187, allocations: 450.8 kB / 0.8995 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.01913, allocations: 0.594 MB / 0.9001 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01913, allocations: 4 kB / 0.9001 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006411/0.01977, allocations: 0.6088 MB / 0.9007 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01978, allocations: 8.188 kB / 0.9007 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01979, allocations: 12 kB / 0.9007 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.02021, allocations: 130.3 kB / 0.9009 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.02045, allocations: 123.8 kB / 0.901 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.02246, allocations: 5.252 MB / 0.9061 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.02263, allocations: 35.97 kB / 0.9061 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.02265, allocations: 28 kB / 0.9062 GB, free: 8.266 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.02277, allocations: 204.4 kB / 0.9064 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.02283, allocations: 71.62 kB / 0.9064 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.02327, allocations: 369 kB / 0.9068 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02328, allocations: 4 kB / 0.9068 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.02328, allocations: 7.938 kB / 0.9068 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.02328, allocations: 0 / 0.9068 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/0.02412, allocations: 0.8848 MB / 0.9076 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02412, allocations: 8.219 kB / 0.9077 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.02439, allocations: 59.89 kB / 0.9077 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.0246, allocations: 110.3 kB / 0.9078 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.02461, allocations: 8 kB / 0.9078 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.02639, allocations: 5.237 MB / 0.9129 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.02639, allocations: 4 kB / 0.9129 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.02685, allocations: 0.5672 MB / 0.9135 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.02695, allocations: 83.59 kB / 0.9136 GB, free: 80 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.02698, allocations: 11.98 kB / 0.9136 GB, free: 68 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.0271, allocations: 24.09 kB / 0.9136 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.02714, allocations: 39.83 kB / 0.9137 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.02717, allocations: 12.08 kB / 0.9137 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001747/0.02734, allocations: 310.8 kB / 0.914 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.02734, allocations: 0 / 0.914 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003611/0.0277, allocations: 140 kB / 0.9141 GB, free: 15.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.708e-05/0.0278, allocations: 115.1 kB / 0.9142 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008224/0.02862, allocations: 0.8432 MB / 0.915 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02862, allocations: 0 / 0.915 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.02898, allocations: 0.6568 MB / 0.9157 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.02952, allocations: 200.6 kB / 0.9159 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.03059, allocations: 0.9744 MB / 0.9168 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.704e-05/0.03068, allocations: 154 kB / 0.917 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.03083, allocations: 96.98 kB / 0.9171 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.03089, allocations: 40.48 kB / 0.9171 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of SimCode: time 6.91e-07/0.03089, allocations: 0 / 0.9171 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.009043/0.03994, allocations: 7.858 MB / 0.9248 GB, free: 4.609 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.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.54321187408641]