Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.000927/0.000927, allocations: 92.22 kB / 19.65 MB, free: 276 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.001434/0.001434, allocations: 169 kB / 23.02 MB, free: 1.547 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.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.133/2.133, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.98e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003502/0.003532, allocations: 3.127 MB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.005366, allocations: 1.118 MB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.005553, allocations: 23.75 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.006054, allocations: 123.2 kB / 0.8824 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.006437, allocations: 251 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.006777, allocations: 212.2 kB / 0.8829 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.0073, allocations: 0.6322 MB / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.007638, allocations: 231.8 kB / 0.8837 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.008019, allocations: 339.2 kB / 0.8841 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.008267, allocations: 211.3 kB / 0.8843 GB, free: 76 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.008303, allocations: 24 kB / 0.8843 GB, free: 52 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.008476, allocations: 95.8 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.008583, allocations: 127.6 kB / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.008695, allocations: 143.6 kB / 0.8846 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.009078, allocations: 366.6 kB / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.009082, allocations: 0 / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009083, allocations: 0 / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.009089, allocations: 4 kB / 0.885 GB, free: 15.33 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007146/0.009803, allocations: 0.7448 MB / 0.8857 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.00984, allocations: 12.03 kB / 0.8857 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005576/0.0104, allocations: 188.3 kB / 0.8859 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.01079, allocations: 371.5 kB / 0.8863 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.01081, allocations: 21.03 kB / 0.8863 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.01085, allocations: 32.36 kB / 0.8863 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.01132, allocations: 0.5454 MB / 0.8868 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.01134, allocations: 7.984 kB / 0.8868 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.01136, allocations: 12 kB / 0.8869 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.01141, allocations: 48.62 kB / 0.8869 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.01166, allocations: 195.5 kB / 0.8871 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.01365, allocations: 3.547 MB / 0.8905 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.01399, allocations: 199 kB / 0.8907 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.01409, allocations: 71.59 kB / 0.8908 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.01411, allocations: 4 kB / 0.8908 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.01413, allocations: 45.33 kB / 0.8909 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 2.265e-06/0.01414, allocations: 4 kB / 0.8909 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0008862/0.01502, allocations: 499.4 kB / 0.8913 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.01505, allocations: 55.64 kB / 0.8914 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.01527, allocations: 370.5 kB / 0.8917 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.01529, allocations: 29.7 kB / 0.8918 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01541, allocations: 302.8 kB / 0.8921 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.01546, allocations: 111.1 kB / 0.8922 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.01554, allocations: 79.81 kB / 0.8922 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01567, allocations: 0.5157 MB / 0.8927 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.313e-05/0.01576, allocations: 68.89 kB / 0.8928 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.01593, allocations: 262.6 kB / 0.8931 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.01622, allocations: 379 kB / 0.8934 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01622, allocations: 0 / 0.8934 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004569/0.01668, allocations: 412.3 kB / 0.8938 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.0167, allocations: 10.34 kB / 0.8938 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0167, allocations: 4 kB / 0.8938 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.01687, allocations: 74.98 kB / 0.8939 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.01705, allocations: 87.83 kB / 0.894 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.01706, allocations: 15.92 kB / 0.894 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.01718, allocations: 19.98 kB / 0.894 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.0172, allocations: 20.16 kB / 0.894 GB, free: 5.418 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.01731, allocations: 188.4 kB / 0.8942 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.01735, allocations: 47.77 kB / 0.8943 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.01772, allocations: 276.6 kB / 0.8945 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01773, allocations: 4 kB / 0.8945 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01773, allocations: 0 / 0.8945 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.01773, allocations: 3.984 kB / 0.8945 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/0.01839, allocations: 0.6827 MB / 0.8952 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.0184, allocations: 0 / 0.8952 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01851, allocations: 51.89 kB / 0.8953 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.01889, allocations: 63.02 kB / 0.8953 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.0189, allocations: 8 kB / 0.8953 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01891, allocations: 0 / 0.8953 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.01891, allocations: 11.88 kB / 0.8953 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.01927, allocations: 446 kB / 0.8958 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.01935, allocations: 59.73 kB / 0.8958 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.01937, allocations: 12.03 kB / 0.8958 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.01947, allocations: 15.98 kB / 0.8958 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.01953, allocations: 19.95 kB / 0.8959 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.01954, allocations: 12 kB / 0.8959 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001361/0.01967, allocations: 243.1 kB / 0.8961 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01967, allocations: 0 / 0.8961 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002611/0.01994, allocations: 88 kB / 0.8962 GB, free: 3.062 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001003/0.02004, allocations: 111.1 kB / 0.8963 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.02039, allocations: 253.1 kB / 0.8965 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.02039, allocations: 0 / 0.8965 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.02053, allocations: 135 kB / 0.8967 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.02095, allocations: 126 kB / 0.8968 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/0.02187, allocations: 0.6728 MB / 0.8974 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.02194, allocations: 121.6 kB / 0.8976 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.02207, allocations: 63.28 kB / 0.8976 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.02214, allocations: 36.5 kB / 0.8976 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.02214, allocations: 0 / 0.8976 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of Templates: time 0.007094/0.02923, allocations: 4.812 MB / 0.9023 GB, free: 12.79 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.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.532200833782554]