Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001643/0.001643, allocations: 109.6 kB / 19.7 MB, free: 2.25 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.002286/0.002286, allocations: 216.9 kB / 23.01 MB, free: 5.086 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7958 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002246/0.002246, allocations: 74.19 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3846, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00597/0.3905, allocations: 3.876 MB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003372/0.3939, allocations: 1.886 MB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.3941, allocations: 23.75 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.3951, allocations: 270.6 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007024/0.3958, allocations: 310.4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.3964, allocations: 265.8 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007432/0.3971, allocations: 0.6013 MB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.3976, allocations: 242.5 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.398, allocations: 247.1 kB / 1.335 GB, free: 9.715 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.3984, allocations: 243 kB / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.3984, allocations: 28 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.3989, allocations: 283.4 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3991, allocations: 127.6 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3993, allocations: 206.9 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.4, allocations: 0.5875 MB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4001, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4001, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4001, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 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.001266/0.4013, allocations: 0.6875 MB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4014, allocations: 12.03 kB / 1.337 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/0.4023, allocations: 136.5 kB / 1.337 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.4029, allocations: 333.4 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.4029, allocations: 25.03 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.403, allocations: 36.31 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008983/0.4039, allocations: 0.551 MB / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4039, allocations: 4 kB / 1.338 GB, free: 6.352 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.4039, allocations: 23.92 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.48e-05/0.404, allocations: 44.62 kB / 1.338 GB, free: 6.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.4047, allocations: 406.1 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.4082, allocations: 3.267 MB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.4089, allocations: 310.4 kB / 1.342 GB, free: 2.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.4092, allocations: 160.8 kB / 1.342 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4092, allocations: 8 kB / 1.342 GB, free: 1.902 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.4093, allocations: 38.5 kB / 1.342 GB, free: 1.855 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.4093, allocations: 0 / 1.342 GB, free: 1.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002023/0.4113, allocations: 0.8401 MB / 1.343 GB, free: 1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4113, allocations: 51.64 kB / 1.343 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.4117, allocations: 345.6 kB / 1.343 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4118, allocations: 29.7 kB / 1.343 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.412, allocations: 256.1 kB / 1.343 GB, free: 308 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.412, allocations: 99.17 kB / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.4122, allocations: 74.08 kB / 1.344 GB, free: 124 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4123, allocations: 346.8 kB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.4126, allocations: 148.8 kB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.413, allocations: 292 kB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.4138, allocations: 490.5 kB / 1.345 GB, free: 14.74 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4138, allocations: 0 / 1.345 GB, free: 14.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001023/0.4148, allocations: 0.5618 MB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4148, allocations: 4 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4148, allocations: 12.62 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.4151, allocations: 90.44 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.4155, allocations: 87.89 kB / 1.346 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.4155, allocations: 11.92 kB / 1.346 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.4158, allocations: 31.91 kB / 1.346 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.4158, allocations: 16 kB / 1.346 GB, free: 13.9 MB / 1.045 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.000219/0.416, allocations: 177.7 kB / 1.346 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.4161, allocations: 43.72 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.417, allocations: 464.3 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.417, allocations: 7.984 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.417, allocations: 0 / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.417, allocations: 15.88 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.4186, allocations: 0.9298 MB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4186, allocations: 0 / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.4188, allocations: 44.06 kB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.419, allocations: 94.38 kB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4191, allocations: 4 kB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4191, allocations: 4 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4191, allocations: 0 / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.4199, allocations: 0.5469 MB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.4201, allocations: 59.73 kB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.4201, allocations: 8 kB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.4203, allocations: 19.97 kB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.4204, allocations: 31.89 kB / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4204, allocations: 11.94 kB / 1.348 GB, free: 11.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000243/0.4207, allocations: 231.2 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4207, allocations: 0 / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004402/0.4211, allocations: 92 kB / 1.348 GB, free: 11.01 MB / 1.045 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.0001411/0.4212, allocations: 111.2 kB / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008197/0.4221, allocations: 391.2 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4221, allocations: 0 / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.4224, allocations: 198.6 kB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/0.4232, allocations: 133.4 kB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4244, allocations: 0.7671 MB / 1.35 GB, free: 9.359 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.4249, allocations: 0.8312 MB / 1.351 GB, free: 8.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.425, allocations: 31.44 kB / 1.351 GB, free: 8.469 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.425, allocations: 0 / 1.351 GB, free: 8.469 MB / 1.045 GB Notification: Performance of Templates: time 0.01376/0.4388, allocations: 9.504 MB / 1.36 GB, free: 15 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.487485933001153]