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.001861/0.001861, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002236/0.002236, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 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.239/3.239, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_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.002308/0.002308, allocations: 69.5 kB / 1.178 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3608, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005633/0.3664, allocations: 3.867 MB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003289/0.3697, allocations: 1.886 MB / 1.36 GB, free: 2.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.37, allocations: 23.75 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009267/0.3709, allocations: 280.4 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006595/0.3716, allocations: 302.5 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.3722, allocations: 264.1 kB / 1.361 GB, free: 1.379 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007255/0.3729, allocations: 0.6091 MB / 1.361 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.3733, allocations: 234.5 kB / 1.361 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.3737, allocations: 251.1 kB / 1.362 GB, free: 296 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.374, allocations: 246.9 kB / 1.362 GB, free: 48 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.3741, allocations: 24 kB / 1.362 GB, free: 24 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.3746, allocations: 283.4 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3747, allocations: 127.6 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3749, allocations: 210.9 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.3758, allocations: 0.5875 MB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3758, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3758, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.3758, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 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.001452/0.3773, allocations: 0.6798 MB / 1.364 GB, free: 14.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.3773, allocations: 8.031 kB / 1.364 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009349/0.3783, allocations: 140.5 kB / 1.364 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.3789, allocations: 341.3 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.379, allocations: 21.03 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.379, allocations: 32.38 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.3799, allocations: 0.555 MB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3799, allocations: 3.938 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.38, allocations: 19.88 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.3801, allocations: 44.62 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.3808, allocations: 410.1 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.3838, allocations: 3.271 MB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.3845, allocations: 315 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.3848, allocations: 160.8 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3848, allocations: 0 / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3849, allocations: 42.5 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3849, allocations: 3.938 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.001934/0.3868, allocations: 0.8345 MB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3869, allocations: 55.64 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.3872, allocations: 345.6 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3872, allocations: 29.7 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3874, allocations: 252.1 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/0.3875, allocations: 99.19 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3876, allocations: 82.05 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3878, allocations: 346.8 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.3881, allocations: 144.8 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.3884, allocations: 298.5 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.3891, allocations: 482.6 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3891, allocations: 4 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009778/0.3901, allocations: 0.566 MB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3901, allocations: 8 kB / 1.372 GB, free: 4.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3901, allocations: 4 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.3905, allocations: 82.52 kB / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.3908, allocations: 91.81 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3908, allocations: 12.16 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.391, allocations: 35.91 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.3911, allocations: 16 kB / 1.373 GB, free: 4.469 MB / 1.061 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.0002072/0.3913, allocations: 173.7 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.3914, allocations: 39.77 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.3923, allocations: 472.3 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3923, allocations: 0 / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3923, allocations: 4 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3923, allocations: 7.969 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3938, allocations: 0.9276 MB / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3938, allocations: 4 kB / 1.374 GB, free: 2.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.394, allocations: 47.95 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.3942, allocations: 86.39 kB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3943, allocations: 8 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3943, allocations: 4.078 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3943, allocations: 8 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.3951, allocations: 0.5368 MB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.3953, allocations: 63.69 kB / 1.375 GB, free: 1.969 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.3953, allocations: 11.92 kB / 1.375 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3955, allocations: 15.98 kB / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.3956, allocations: 31.89 kB / 1.375 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3956, allocations: 8 kB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002422/0.3959, allocations: 239.2 kB / 1.375 GB, free: 1.668 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3959, allocations: 0 / 1.375 GB, free: 1.668 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004176/0.3963, allocations: 84 kB / 1.375 GB, free: 1.586 MB / 1.061 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.000134/0.3964, allocations: 107.2 kB / 1.375 GB, free: 1.469 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.3972, allocations: 403.1 kB / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3972, allocations: 0 / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3976, allocations: 194.3 kB / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.3983, allocations: 129.5 kB / 1.376 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3996, allocations: 0.7754 MB / 1.377 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.4, allocations: 0.8195 MB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.4001, allocations: 31.44 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of SimCode: time 4.8e-07/0.4001, allocations: 0 / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of Templates: time 0.01299/0.4131, allocations: 9.506 MB / 1.387 GB, free: 5.57 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.845953776995884]