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.0008624/0.0008624, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008462/0.0008462, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8997/0.8997, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.9 MB / 0.6229 GB, free: 8.609 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.511e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00412/0.004156, allocations: 3.583 MB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.006303, allocations: 1.742 MB / 0.9874 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.006497, allocations: 23.81 kB / 0.9874 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.007194, allocations: 266.6 kB / 0.9877 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.007651, allocations: 330 kB / 0.988 GB, free: 12.1 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.008029, allocations: 257.4 kB / 0.9882 GB, free: 11.85 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005463/0.008576, allocations: 0.6166 MB / 0.9888 GB, free: 11.23 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.008986, allocations: 242.5 kB / 0.9891 GB, free: 10.99 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.009413, allocations: 335.1 kB / 0.9894 GB, free: 10.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.009663, allocations: 203.4 kB / 0.9896 GB, free: 10.46 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.009698, allocations: 28 kB / 0.9896 GB, free: 10.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.009996, allocations: 255.2 kB / 0.9899 GB, free: 10.18 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.01012, allocations: 127.6 kB / 0.99 GB, free: 10.06 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.01023, allocations: 143.6 kB / 0.9901 GB, free: 9.918 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.01081, allocations: 0.5996 MB / 0.9907 GB, free: 9.316 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01082, allocations: 0 / 0.9907 GB, free: 9.316 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/0.01082, allocations: 0 / 0.9907 GB, free: 9.316 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.01083, allocations: 0 / 0.9907 GB, free: 9.316 MB / 0.948 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.001003/0.01183, allocations: 0.672 MB / 0.9914 GB, free: 8.613 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.01188, allocations: 8.031 kB / 0.9914 GB, free: 8.605 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005555/0.01244, allocations: 144.4 kB / 0.9915 GB, free: 8.465 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.01287, allocations: 344.7 kB / 0.9918 GB, free: 8.102 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.01289, allocations: 21.03 kB / 0.9919 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.01294, allocations: 28.36 kB / 0.9919 GB, free: 8.051 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.01369, allocations: 0.6278 MB / 0.9925 GB, free: 7.336 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.01371, allocations: 11.94 kB / 0.9925 GB, free: 7.324 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.01374, allocations: 12 kB / 0.9925 GB, free: 7.312 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.01379, allocations: 40.62 kB / 0.9926 GB, free: 7.273 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.01425, allocations: 414.1 kB / 0.9929 GB, free: 6.867 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.01601, allocations: 2.675 MB / 0.9956 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.0165, allocations: 314.4 kB / 0.9959 GB, free: 3.762 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.01667, allocations: 156.8 kB / 0.996 GB, free: 3.605 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.01669, allocations: 0 / 0.996 GB, free: 3.605 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.01672, allocations: 42.5 kB / 0.996 GB, free: 3.555 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.01672, allocations: 0 / 0.996 GB, free: 3.555 MB / 0.948 GB Notification: Performance of matching and sorting (n=27): time 0.001266/0.01798, allocations: 0.8318 MB / 0.9969 GB, free: 2.707 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.01802, allocations: 59.62 kB / 0.9969 GB, free: 2.637 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.01826, allocations: 337.4 kB / 0.9972 GB, free: 2.293 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.01828, allocations: 33.7 kB / 0.9973 GB, free: 2.254 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01841, allocations: 244.1 kB / 0.9975 GB, free: 2.012 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.01846, allocations: 107.2 kB / 0.9976 GB, free: 1.906 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.01854, allocations: 74.14 kB / 0.9977 GB, free: 1.828 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01864, allocations: 346.8 kB / 0.998 GB, free: 1.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.01881, allocations: 144.9 kB / 0.9981 GB, free: 1.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.01904, allocations: 299 kB / 0.9984 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.01946, allocations: 478.3 kB / 0.9989 GB, free: 468 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.01946, allocations: 4 kB / 0.9989 GB, free: 464 kB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007246/0.02018, allocations: 0.5629 MB / 0.9994 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.0202, allocations: 8.625 kB / 0.9995 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.02021, allocations: 8 kB / 0.9995 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.02042, allocations: 90.5 kB / 0.9995 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.0206, allocations: 87.81 kB / 0.9996 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.02061, allocations: 8 kB / 0.9996 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.02073, allocations: 27.97 kB / 0.9997 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.02075, allocations: 20 kB / 0.9997 GB, free: 15.62 MB / 0.9636 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.0001356/0.02089, allocations: 181.6 kB / 0.9999 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.02093, allocations: 39.75 kB / 0.9999 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.02147, allocations: 471.9 kB / 1 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.02147, allocations: 4 kB / 1 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.02148, allocations: 0 / 1 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02148, allocations: 4 kB / 1 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008415/0.02233, allocations: 0.8405 MB / 1.001 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02233, allocations: 0 / 1.001 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.02245, allocations: 55.89 kB / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.02258, allocations: 78.52 kB / 1.001 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.02259, allocations: 4 kB / 1.001 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.0226, allocations: 4 kB / 1.001 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.0226, allocations: 3.938 kB / 1.001 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.0231, allocations: 0.5509 MB / 1.002 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.02318, allocations: 55.73 kB / 1.002 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.02321, allocations: 8 kB / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.02331, allocations: 19.97 kB / 1.002 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.02337, allocations: 27.89 kB / 1.002 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.02338, allocations: 8 kB / 1.002 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001322/0.02351, allocations: 227.2 kB / 1.002 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02351, allocations: 0 / 1.002 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002531/0.02376, allocations: 84 kB / 1.002 GB, free: 12.86 MB / 0.9636 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.000121/0.02388, allocations: 115.1 kB / 1.002 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.0244, allocations: 395.3 kB / 1.003 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.02441, allocations: 4.062 kB / 1.003 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.02461, allocations: 190.4 kB / 1.003 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.02507, allocations: 133.1 kB / 1.003 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008166/0.02588, allocations: 0.7504 MB / 1.004 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.02603, allocations: 216.1 kB / 1.004 GB, free: 11 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.0261, allocations: 36.44 kB / 1.004 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/0.0261, allocations: 4 kB / 1.004 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of Templates: time 0.008074/0.03418, allocations: 9.563 MB / 1.013 GB, free: 1.418 MB / 0.9636 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: 8.293848401866853]