Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001783/0.001783, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002372/0.002372, allocations: 215.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.685/2.685, allocations: 476 MB / 0.7707 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 64.05 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3356, allocations: 169.9 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005889/0.3415, allocations: 3.624 MB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.3451, allocations: 1.766 MB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.3454, allocations: 19.81 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3465, allocations: 266.6 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008909/0.3473, allocations: 314.5 kB / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.348, allocations: 241.7 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009036/0.3489, allocations: 0.6168 MB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.3494, allocations: 222.5 kB / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.35, allocations: 259 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.3505, allocations: 235 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.388e-05/0.3506, allocations: 24 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.3512, allocations: 243.4 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.3514, allocations: 127.6 kB / 1.292 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.3517, allocations: 179.1 kB / 1.292 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009981/0.3527, allocations: 0.5914 MB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3527, allocations: 0 / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3527, allocations: 0 / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.3527, allocations: 3.984 kB / 1.292 GB, free: 3.262 MB / 0.9825 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.00131/0.354, allocations: 0.6759 MB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3541, allocations: 12.03 kB / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/0.355, allocations: 136.5 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.3557, allocations: 345.3 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3557, allocations: 21.03 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.3558, allocations: 32.36 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.3567, allocations: 0.6264 MB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3567, allocations: 7.891 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.3568, allocations: 15.98 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/0.3568, allocations: 48.62 kB / 1.294 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.3576, allocations: 398.1 kB / 1.295 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.3605, allocations: 2.691 MB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.3612, allocations: 322.4 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.3615, allocations: 156.8 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3615, allocations: 4 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3615, allocations: 38.56 kB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.695e-06/0.3615, allocations: 0 / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.002051/0.3636, allocations: 0.8363 MB / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3636, allocations: 51.64 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.364, allocations: 333.5 kB / 1.299 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.364, allocations: 29.7 kB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3642, allocations: 260 kB / 1.299 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.3643, allocations: 99.17 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3644, allocations: 74.09 kB / 1.299 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3646, allocations: 346.8 kB / 1.3 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.3649, allocations: 148.8 kB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.3653, allocations: 294.5 kB / 1.3 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.366, allocations: 483.2 kB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.366, allocations: 0 / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001057/0.3671, allocations: 0.5657 MB / 1.301 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3671, allocations: 8 kB / 1.301 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3671, allocations: 4 kB / 1.301 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.3675, allocations: 83.08 kB / 1.301 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.3678, allocations: 95.81 kB / 1.301 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3678, allocations: 11.98 kB / 1.301 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.3681, allocations: 23.97 kB / 1.301 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.3681, allocations: 23.94 kB / 1.301 GB, free: 9.547 MB / 0.9981 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.0002329/0.3684, allocations: 177.6 kB / 1.301 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.3684, allocations: 39.77 kB / 1.301 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.3694, allocations: 464 kB / 1.302 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3694, allocations: 0 / 1.302 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3694, allocations: 11.88 kB / 1.302 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3694, allocations: 3.984 kB / 1.302 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3709, allocations: 0.8418 MB / 1.303 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3709, allocations: 3.984 kB / 1.303 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.3712, allocations: 47.91 kB / 1.303 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.3714, allocations: 90.53 kB / 1.303 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3715, allocations: 4 kB / 1.303 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3715, allocations: 4 kB / 1.303 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3715, allocations: 0 / 1.303 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.3724, allocations: 0.5512 MB / 1.303 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.3726, allocations: 59.73 kB / 1.303 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.3727, allocations: 4 kB / 1.303 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3729, allocations: 27.97 kB / 1.304 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.373, allocations: 27.89 kB / 1.304 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.373, allocations: 8 kB / 1.304 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002504/0.3732, allocations: 219.2 kB / 1.304 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3732, allocations: 0 / 1.304 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004597/0.3737, allocations: 91.98 kB / 1.304 GB, free: 6.777 MB / 0.9981 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.0001757/0.3739, allocations: 107.2 kB / 1.304 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008737/0.3747, allocations: 398.1 kB / 1.304 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3747, allocations: 5.25 kB / 1.304 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.3751, allocations: 186.5 kB / 1.305 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007156/0.3758, allocations: 134.8 kB / 1.305 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3772, allocations: 0.7715 MB / 1.305 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3774, allocations: 220.1 kB / 1.306 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3775, allocations: 35.44 kB / 1.306 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3775, allocations: 0 / 1.306 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of Templates: time 0.01374/0.3912, allocations: 9.557 MB / 1.315 GB, free: 11.34 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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: 12.750411483924836]