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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 191 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.14/3.14, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 61.11 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.359, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006065/0.3651, allocations: 3.869 MB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003394/0.3685, allocations: 1.844 MB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.3687, allocations: 23.75 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009524/0.3697, allocations: 270.6 kB / 1.313 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007121/0.3704, allocations: 314.4 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.371, allocations: 259.3 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.3717, allocations: 0.6052 MB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.3722, allocations: 202.8 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.3726, allocations: 239.1 kB / 1.315 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.3729, allocations: 250.9 kB / 1.315 GB, free: 9.922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.373, allocations: 24 kB / 1.315 GB, free: 9.898 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.3735, allocations: 287.4 kB / 1.315 GB, free: 9.617 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3736, allocations: 115.6 kB / 1.315 GB, free: 9.504 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.3738, allocations: 218.8 kB / 1.316 GB, free: 9.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.3746, allocations: 0.5875 MB / 1.316 GB, free: 8.699 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3746, allocations: 0 / 1.316 GB, free: 8.699 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3746, allocations: 0 / 1.316 GB, free: 8.699 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.3746, allocations: 0 / 1.316 GB, free: 8.699 MB / 1.014 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.001246/0.3759, allocations: 0.6759 MB / 1.317 GB, free: 7.992 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3759, allocations: 8.922 kB / 1.317 GB, free: 7.984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/0.3768, allocations: 144.4 kB / 1.317 GB, free: 7.844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.3774, allocations: 337.4 kB / 1.317 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3774, allocations: 21.03 kB / 1.317 GB, free: 7.473 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.3775, allocations: 40.34 kB / 1.317 GB, free: 7.434 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000887/0.3784, allocations: 0.5472 MB / 1.318 GB, free: 6.809 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.3784, allocations: 7.922 kB / 1.318 GB, free: 6.801 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.3784, allocations: 19.98 kB / 1.318 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/0.3785, allocations: 44.62 kB / 1.318 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.3793, allocations: 410.1 kB / 1.318 GB, free: 6.336 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.3826, allocations: 3.263 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.3833, allocations: 312.7 kB / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.3836, allocations: 164.7 kB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3836, allocations: 4 kB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3837, allocations: 34.56 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.3837, allocations: 0 / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.002097/0.3858, allocations: 0.8474 MB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3858, allocations: 55.64 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.3862, allocations: 341.6 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3863, allocations: 29.7 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.3865, allocations: 252.1 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.3866, allocations: 103.2 kB / 1.324 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3867, allocations: 78.08 kB / 1.324 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3869, allocations: 350.7 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.3872, allocations: 144.8 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.3876, allocations: 294.5 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.3884, allocations: 476 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3884, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001062/0.3894, allocations: 0.5659 MB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3895, allocations: 8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.3895, allocations: 4 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.3898, allocations: 95.08 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.3902, allocations: 91.81 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3902, allocations: 8 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3905, allocations: 27.91 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.3905, allocations: 20 kB / 1.326 GB, free: 14.36 MB / 1.029 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.0001995/0.3907, allocations: 177.6 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.3908, allocations: 47.75 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/0.3917, allocations: 460.1 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3917, allocations: 7.938 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3917, allocations: 4 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3917, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.3933, allocations: 0.9355 MB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3934, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.3936, allocations: 55.89 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.3938, allocations: 82.61 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3939, allocations: 4 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3939, allocations: 4 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3939, allocations: 3.938 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.3948, allocations: 0.5392 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3949, allocations: 67.69 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.395, allocations: 4 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3952, allocations: 23.97 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.3953, allocations: 31.89 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3953, allocations: 4 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002703/0.3955, allocations: 235.2 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3955, allocations: 0 / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004123/0.396, allocations: 84 kB / 1.328 GB, free: 11.48 MB / 1.029 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.0001546/0.3961, allocations: 112 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008898/0.397, allocations: 410.7 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.397, allocations: 5.25 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.3974, allocations: 194.5 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.3981, allocations: 125.9 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3994, allocations: 0.7308 MB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.3999, allocations: 0.8234 MB / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.4002, allocations: 79.34 kB / 1.331 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.4002, allocations: 27.44 kB / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.4003, allocations: 4 kB / 1.331 GB, free: 8.906 MB / 1.029 GB Notification: Performance of Templates: time 0.0108/0.4111, allocations: 4.971 MB / 1.336 GB, free: 3.996 MB / 1.029 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/jenkins/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: 9.218097326345742]