Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001643/0.001642, allocations: 117 kB / 17.08 MB, free: 5.961 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.00185/0.00185, allocations: 194.2 kB / 20.03 MB, free: 3.039 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.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437 MB / 0.7177 GB, free: 4.441 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.316, allocations: 151.6 MB / 1.176 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005652/0.3217, allocations: 3.756 MB / 1.18 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.3249, allocations: 1.793 MB / 1.181 GB, free: 268 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.3251, allocations: 19.88 kB / 1.181 GB, free: 248 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.3261, allocations: 262.7 kB / 1.182 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000707/0.3268, allocations: 298.4 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.3274, allocations: 243.5 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.3282, allocations: 0.6088 MB / 1.183 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.3287, allocations: 262.5 kB / 1.183 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.329, allocations: 227.2 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.3294, allocations: 239 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.3295, allocations: 24 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.33, allocations: 275.4 kB / 1.184 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3301, allocations: 119.6 kB / 1.184 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.3304, allocations: 206.8 kB / 1.184 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000809/0.3312, allocations: 0.5991 MB / 1.185 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3312, allocations: 0 / 1.185 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3312, allocations: 0 / 1.185 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.3313, allocations: 0 / 1.185 GB, free: 12.91 MB / 0.9356 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.001403/0.3327, allocations: 0.7512 MB / 1.185 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.3327, allocations: 12.03 kB / 1.185 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.3336, allocations: 140.4 kB / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.3342, allocations: 407.9 kB / 1.186 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.3343, allocations: 21.02 kB / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.3344, allocations: 28.38 kB / 1.186 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009225/0.3353, allocations: 0.5609 MB / 1.186 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3353, allocations: 3.938 kB / 1.186 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.3354, allocations: 12 kB / 1.186 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/0.3354, allocations: 44.53 kB / 1.186 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008098/0.3362, allocations: 405.7 kB / 1.187 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.3397, allocations: 3.342 MB / 1.19 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.3405, allocations: 334.4 kB / 1.19 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.3408, allocations: 184.8 kB / 1.191 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3408, allocations: 0 / 1.191 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3409, allocations: 42.56 kB / 1.191 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.3409, allocations: 0 / 1.191 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.002299/0.3432, allocations: 1.062 MB / 1.192 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3433, allocations: 51.64 kB / 1.192 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.3437, allocations: 345.6 kB / 1.192 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.3437, allocations: 33.7 kB / 1.192 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.3439, allocations: 256.1 kB / 1.192 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.344, allocations: 99.11 kB / 1.192 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.3442, allocations: 78.08 kB / 1.192 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3444, allocations: 346.8 kB / 1.193 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3447, allocations: 148.8 kB / 1.193 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.3451, allocations: 290.5 kB / 1.193 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.3459, allocations: 487.9 kB / 1.194 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3459, allocations: 0 / 1.194 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001162/0.347, allocations: 0.5622 MB / 1.194 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3471, allocations: 12.12 kB / 1.194 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.3471, allocations: 4 kB / 1.194 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.3474, allocations: 86.5 kB / 1.194 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.3479, allocations: 91.81 kB / 1.194 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3479, allocations: 8 kB / 1.194 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.3481, allocations: 31.91 kB / 1.194 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3482, allocations: 20 kB / 1.194 GB, free: 1.992 MB / 0.9356 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.0002148/0.3484, allocations: 169.7 kB / 1.195 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.3485, allocations: 43.75 kB / 1.195 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/0.3494, allocations: 460 kB / 1.195 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3495, allocations: 8 kB / 1.195 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3495, allocations: 0 / 1.195 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3495, allocations: 0 / 1.195 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3511, allocations: 0.9655 MB / 1.196 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3511, allocations: 7.969 kB / 1.196 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.3514, allocations: 51.89 kB / 1.196 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.3516, allocations: 82.52 kB / 1.196 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3517, allocations: 4 kB / 1.196 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3517, allocations: 7.938 kB / 1.196 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3517, allocations: 0 / 1.196 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.3526, allocations: 0.5473 MB / 1.197 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3528, allocations: 148.8 kB / 1.197 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.3528, allocations: 11.92 kB / 1.197 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3531, allocations: 19.98 kB / 1.197 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.3532, allocations: 31.89 kB / 1.197 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3532, allocations: 4 kB / 1.197 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002624/0.3535, allocations: 239.2 kB / 1.197 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3535, allocations: 0 / 1.197 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004227/0.3539, allocations: 84 kB / 1.197 GB, free: 14.98 MB / 0.9512 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.0002088/0.3541, allocations: 115.8 kB / 1.197 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.3551, allocations: 0.6257 MB / 1.198 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3551, allocations: 4.188 kB / 1.198 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.3557, allocations: 441.6 kB / 1.198 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.3564, allocations: 127.8 kB / 1.199 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.3577, allocations: 0.7746 MB / 1.199 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.3583, allocations: 0.8234 MB / 1.2 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.3584, allocations: 31.44 kB / 1.2 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.3584, allocations: 0 / 1.2 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of Templates: time 0.01351/0.3719, allocations: 9.476 MB / 1.209 GB, free: 2.398 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.999911191989668]