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.001845/0.001845, allocations: 85.48 kB / 19.44 MB, free: 336 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.002057/0.002057, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.371/3.371, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.723e-06/1.723e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.072e-05, allocations: 4.844 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007674/0.007705, allocations: 4.82 MB / 0.8822 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004743/0.01245, allocations: 2.489 MB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.01278, allocations: 35.62 kB / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.01407, allocations: 411.4 kB / 0.885 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.01522, allocations: 487.8 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.01614, allocations: 375.1 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.0174, allocations: 0.9524 MB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.01796, allocations: 318.4 kB / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007772/0.01874, allocations: 486.8 kB / 0.8875 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005181/0.01926, allocations: 311 kB / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.731e-05/0.01934, allocations: 36 kB / 0.8879 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007338/0.02008, allocations: 363 kB / 0.8882 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.02033, allocations: 203.3 kB / 0.8884 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.02062, allocations: 203.5 kB / 0.8886 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.02208, allocations: 0.9072 MB / 0.8895 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.02208, allocations: 3.938 kB / 0.8895 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.282e-06/0.02209, allocations: 0 / 0.8895 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.0221, allocations: 0 / 0.8895 GB, free: 10.31 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.001649/0.02374, allocations: 1.02 MB / 0.8905 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.02378, allocations: 8.031 kB / 0.8905 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.02516, allocations: 276 kB / 0.8908 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.02611, allocations: 0.5067 MB / 0.8913 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.02615, allocations: 29.36 kB / 0.8913 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.02625, allocations: 48.38 kB / 0.8913 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.02763, allocations: 0.9042 MB / 0.8922 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.02766, allocations: 8.078 kB / 0.8922 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.02773, allocations: 28.36 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.02785, allocations: 72.89 kB / 0.8923 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.02855, allocations: 347.3 kB / 0.8926 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.03471, allocations: 6.405 MB / 0.8989 GB, free: 164 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.03526, allocations: 250.9 kB / 0.8991 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.03546, allocations: 91.66 kB / 0.8992 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.0355, allocations: 11.94 kB / 0.8992 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.03554, allocations: 37.39 kB / 0.8993 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.03554, allocations: 0 / 0.8993 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.00224/0.03778, allocations: 0.7415 MB / 0.9 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.03784, allocations: 59.69 kB / 0.9001 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/0.03852, allocations: 0.5766 MB / 0.9006 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.03855, allocations: 37.7 kB / 0.9007 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.03891, allocations: 431 kB / 0.9011 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.03904, allocations: 134.9 kB / 0.9012 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.03923, allocations: 119.9 kB / 0.9013 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003332/0.03957, allocations: 0.5586 MB / 0.9019 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.03978, allocations: 105.3 kB / 0.902 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.04035, allocations: 478.8 kB / 0.9024 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.04146, allocations: 0.629 MB / 0.903 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.04147, allocations: 8 kB / 0.903 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001243/0.04271, allocations: 0.6603 MB / 0.9037 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.04273, allocations: 8 kB / 0.9037 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.04275, allocations: 12 kB / 0.9037 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.04328, allocations: 138.7 kB / 0.9038 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.04375, allocations: 127.7 kB / 0.9039 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/0.0483, allocations: 5.314 MB / 0.9091 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.04868, allocations: 31.97 kB / 0.9092 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.04873, allocations: 32 kB / 0.9092 GB, free: 4.758 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.0002911/0.04902, allocations: 224.5 kB / 0.9094 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.04913, allocations: 67.62 kB / 0.9095 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.05031, allocations: 405 kB / 0.9099 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.05031, allocations: 7.938 kB / 0.9099 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.05032, allocations: 3.938 kB / 0.9099 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.05033, allocations: 7.984 kB / 0.9099 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.05211, allocations: 0.9902 MB / 0.9108 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.05211, allocations: 0 / 0.9108 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.05238, allocations: 55.89 kB / 0.9109 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/0.05282, allocations: 134.5 kB / 0.911 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.05285, allocations: 15.98 kB / 0.911 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/0.0573, allocations: 5.303 MB / 0.9162 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.0573, allocations: 0 / 0.9162 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.05853, allocations: 0.5949 MB / 0.9168 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.05878, allocations: 87.58 kB / 0.9169 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.05884, allocations: 8 kB / 0.9169 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.05909, allocations: 27.95 kB / 0.9169 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.05918, allocations: 35.88 kB / 0.917 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.05921, allocations: 12 kB / 0.917 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004124/0.05962, allocations: 358.8 kB / 0.9173 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.05962, allocations: 0 / 0.9173 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006695/0.06029, allocations: 140 kB / 0.9174 GB, free: 11.73 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 0.0001605/0.06045, allocations: 111.2 kB / 0.9176 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.0619, allocations: 0.8862 MB / 0.9184 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0619, allocations: 0 / 0.9184 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009211/0.06283, allocations: 0.6809 MB / 0.9191 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.06383, allocations: 193.1 kB / 0.9193 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.06548, allocations: 0.9863 MB / 0.9202 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.06584, allocations: 299.4 kB / 0.9205 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.06612, allocations: 101 kB / 0.9206 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.679e-05/0.06622, allocations: 36.5 kB / 0.9206 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.06622, allocations: 0 / 0.9206 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of Templates: time 0.01609/0.08231, allocations: 7.837 MB / 0.9283 GB, free: 0.5859 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","/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.779518747935072]