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.0008003/0.0008003, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001001/0.001001, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8715/0.8715, allocations: 177.1 MB / 203.5 MB, free: 5.75 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 1.758/1.758, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",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.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/2.995e-05, allocations: 14.16 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004148/0.004178, allocations: 4.573 MB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.006569, allocations: 2.377 MB / 1.008 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.006774, allocations: 35.62 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.007509, allocations: 405.8 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.008053, allocations: 481.1 kB / 1.009 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.00846, allocations: 377.5 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.009092, allocations: 0.9486 MB / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.009465, allocations: 318.4 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.009887, allocations: 490.6 kB / 1.011 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.01019, allocations: 303.1 kB / 1.011 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.01023, allocations: 36 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.01056, allocations: 374.9 kB / 1.011 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.01069, allocations: 191.3 kB / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.01083, allocations: 215.5 kB / 1.012 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.01149, allocations: 0.8994 MB / 1.013 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01149, allocations: 0 / 1.013 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.0115, allocations: 0 / 1.013 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.0115, allocations: 0 / 1.013 GB, free: 1.016 MB / 0.9636 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.0009005/0.0124, allocations: 0.8818 MB / 1.013 GB, free: 100 kB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.01244, allocations: 16.69 kB / 1.013 GB, free: 84 kB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006618/0.01311, allocations: 204.3 kB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.01361, allocations: 472.1 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.01364, allocations: 41.3 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.01369, allocations: 40.38 kB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.01443, allocations: 0.9666 MB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.01445, allocations: 16.08 kB / 1.015 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.01448, allocations: 24.36 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/0.01454, allocations: 68.89 kB / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.01507, allocations: 0.5656 MB / 1.016 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.01754, allocations: 4.619 MB / 1.02 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.01795, allocations: 418.3 kB / 1.021 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.01814, allocations: 201.3 kB / 1.021 GB, free: 8.098 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.01816, allocations: 7.984 kB / 1.021 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.01818, allocations: 38.56 kB / 1.021 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.01818, allocations: 0 / 1.021 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.00143/0.01961, allocations: 1.121 MB / 1.022 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.01965, allocations: 63.56 kB / 1.022 GB, free: 6.824 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.01995, allocations: 470.6 kB / 1.023 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.01997, allocations: 33.7 kB / 1.023 GB, free: 6.316 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.02014, allocations: 372.2 kB / 1.023 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.0202, allocations: 123 kB / 1.023 GB, free: 5.824 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.02029, allocations: 110.2 kB / 1.023 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.0204, allocations: 362.7 kB / 1.023 GB, free: 5.348 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.02058, allocations: 201.2 kB / 1.024 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.02087, allocations: 447.3 kB / 1.024 GB, free: 4.598 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.0214, allocations: 0.6926 MB / 1.025 GB, free: 3.789 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.02141, allocations: 4 kB / 1.025 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007608/0.02217, allocations: 0.8019 MB / 1.026 GB, free: 2.961 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.02219, allocations: 10.03 kB / 1.026 GB, free: 2.953 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.0222, allocations: 8 kB / 1.026 GB, free: 2.945 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/0.02249, allocations: 152.1 kB / 1.026 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.02273, allocations: 120.2 kB / 1.026 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.02476, allocations: 3.97 MB / 1.03 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.02493, allocations: 39.97 kB / 1.03 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.02496, allocations: 28 kB / 1.03 GB, free: 14.32 MB / 0.9948 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.0001714/0.02513, allocations: 209.8 kB / 1.03 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.02518, allocations: 59.62 kB / 1.03 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/0.02578, allocations: 0.5924 MB / 1.031 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.02578, allocations: 4 kB / 1.031 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.02578, allocations: 3.938 kB / 1.031 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.02579, allocations: 3.984 kB / 1.031 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.02681, allocations: 1.117 MB / 1.032 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02681, allocations: 12.06 kB / 1.032 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.02693, allocations: 59.89 kB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.02715, allocations: 136.2 kB / 1.032 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.02716, allocations: 8 kB / 1.032 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.02896, allocations: 3.946 MB / 1.036 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.02896, allocations: 8.016 kB / 1.036 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.02954, allocations: 0.7045 MB / 1.036 GB, free: 6.984 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.02965, allocations: 91.53 kB / 1.037 GB, free: 6.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.02967, allocations: 8 kB / 1.037 GB, free: 6.887 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.02979, allocations: 23.97 kB / 1.037 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.02984, allocations: 35.88 kB / 1.037 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.02985, allocations: 11.94 kB / 1.037 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001885/0.03004, allocations: 298.9 kB / 1.037 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.03004, allocations: 4.094 kB / 1.037 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003599/0.0304, allocations: 148 kB / 1.037 GB, free: 6.379 MB / 0.9948 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 0.0001147/0.03051, allocations: 106 kB / 1.037 GB, free: 6.266 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007932/0.03131, allocations: 0.8546 MB / 1.038 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03131, allocations: 0 / 1.038 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.0317, allocations: 0.5718 MB / 1.039 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.03225, allocations: 191.9 kB / 1.039 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.03332, allocations: 1.082 MB / 1.04 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.03351, allocations: 307.4 kB / 1.04 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.03359, allocations: 44.48 kB / 1.04 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of SimCode: time 5.41e-07/0.03359, allocations: 0 / 1.04 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of Templates: time 0.01186/0.04545, allocations: 18.07 MB / 1.058 GB, free: 1.023 MB / 1.01 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.40267057530582]