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.001167/0.001167, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001036/0.001036, allocations: 173 kB / 23.49 MB, free: 1.059 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.9313/0.9313, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.051/2.051, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.755e-05, allocations: 3.875 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003566/0.003584, allocations: 3.798 MB / 0.8819 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.005698, allocations: 1.823 MB / 0.8837 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.005888, allocations: 23.75 kB / 0.8837 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006063/0.006494, allocations: 275.3 kB / 0.8839 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.00695, allocations: 317.9 kB / 0.8843 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.007291, allocations: 250.9 kB / 0.8845 GB, free: 172 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.007812, allocations: 0.6244 MB / 0.8851 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.00817, allocations: 234.6 kB / 0.8853 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.008541, allocations: 339 kB / 0.8856 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.008799, allocations: 208.7 kB / 0.8858 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.008834, allocations: 28 kB / 0.8859 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.00912, allocations: 247.3 kB / 0.8861 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.009224, allocations: 131.6 kB / 0.8862 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.009333, allocations: 139.6 kB / 0.8864 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.009785, allocations: 466.3 kB / 0.8868 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.009788, allocations: 0 / 0.8868 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.91e-07/0.009788, allocations: 0 / 0.8868 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.009795, allocations: 0 / 0.8868 GB, free: 13.78 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.0007448/0.01054, allocations: 0.7718 MB / 0.8876 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.01058, allocations: 12.03 kB / 0.8876 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.01116, allocations: 184.3 kB / 0.8878 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.01153, allocations: 363.4 kB / 0.8881 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.01155, allocations: 25.02 kB / 0.8881 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.01159, allocations: 32.38 kB / 0.8882 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.01207, allocations: 0.5481 MB / 0.8887 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.01209, allocations: 3.938 kB / 0.8887 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.01212, allocations: 19.98 kB / 0.8887 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/0.01216, allocations: 40.62 kB / 0.8888 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.01242, allocations: 203.5 kB / 0.8889 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.01415, allocations: 3.543 MB / 0.8924 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.01448, allocations: 201.5 kB / 0.8926 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.01457, allocations: 67.66 kB / 0.8927 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.01459, allocations: 4 kB / 0.8927 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.01461, allocations: 49.25 kB / 0.8927 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.01462, allocations: 0 / 0.8927 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0008669/0.01548, allocations: 0.4905 MB / 0.8932 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.01551, allocations: 55.64 kB / 0.8932 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.01573, allocations: 374.5 kB / 0.8936 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.01575, allocations: 33.7 kB / 0.8936 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01587, allocations: 302.8 kB / 0.8939 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.01592, allocations: 91.19 kB / 0.894 GB, free: 6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.01599, allocations: 83.8 kB / 0.8941 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01612, allocations: 0.5157 MB / 0.8946 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.0162, allocations: 60.97 kB / 0.8947 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.01637, allocations: 274.5 kB / 0.8949 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.01665, allocations: 371 kB / 0.8953 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01665, allocations: 0 / 0.8953 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004369/0.01709, allocations: 419.8 kB / 0.8957 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.0171, allocations: 4 kB / 0.8957 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01711, allocations: 8.625 kB / 0.8957 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.01728, allocations: 75 kB / 0.8958 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.01746, allocations: 83.83 kB / 0.8958 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.01747, allocations: 8 kB / 0.8958 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.01758, allocations: 27.97 kB / 0.8959 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.0176, allocations: 23.94 kB / 0.8959 GB, free: 3.852 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.0001047/0.0177, allocations: 184.3 kB / 0.8961 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.01775, allocations: 51.77 kB / 0.8961 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.0181, allocations: 280.6 kB / 0.8964 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.0181, allocations: 4 kB / 0.8964 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01811, allocations: 0 / 0.8964 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01811, allocations: 4 kB / 0.8964 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.01873, allocations: 0.6789 MB / 0.8971 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01874, allocations: 0 / 0.8971 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.01885, allocations: 55.89 kB / 0.8971 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.01897, allocations: 71.11 kB / 0.8972 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.01898, allocations: 4 kB / 0.8972 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01899, allocations: 4 kB / 0.8972 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01899, allocations: 3.938 kB / 0.8972 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.01934, allocations: 453.9 kB / 0.8976 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.01941, allocations: 59.67 kB / 0.8977 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.01944, allocations: 7.984 kB / 0.8977 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.01954, allocations: 15.98 kB / 0.8977 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.01961, allocations: 27.95 kB / 0.8977 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.01962, allocations: 4 kB / 0.8977 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001258/0.01974, allocations: 251.1 kB / 0.898 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01974, allocations: 0 / 0.898 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003131/0.02005, allocations: 84 kB / 0.898 GB, free: 1.484 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 8.786e-05/0.02014, allocations: 107.1 kB / 0.8981 GB, free: 1.371 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.0205, allocations: 261.8 kB / 0.8984 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0205, allocations: 0 / 0.8984 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.02071, allocations: 124.3 kB / 0.8985 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.02113, allocations: 139.6 kB / 0.8987 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.02198, allocations: 0.6662 MB / 0.8993 GB, free: 128 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.765e-05/0.02206, allocations: 125.5 kB / 0.8994 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.0222, allocations: 63.3 kB / 0.8995 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.02226, allocations: 28.5 kB / 0.8995 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/0.02226, allocations: 0 / 0.8995 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of Templates: time 0.006663/0.02892, allocations: 4.813 MB / 0.9042 GB, free: 11.22 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.217982188099995]