Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002123/0.002123, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002798/0.002798, allocations: 160.4 kB / 23.01 MB, free: 4.949 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.52/1.52, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.714/2.714, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002102/0.002102, allocations: 67.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006102/0.4207, allocations: 3.631 MB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.4241, allocations: 1.754 MB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.4243, allocations: 19.81 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.4253, allocations: 270.6 kB / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006992/0.426, allocations: 318.5 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.4266, allocations: 243.5 kB / 1.124 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.4273, allocations: 0.6013 MB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00045/0.4278, allocations: 238.6 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.4282, allocations: 251.1 kB / 1.125 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.4286, allocations: 231 kB / 1.125 GB, free: 10.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.4287, allocations: 24 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.4291, allocations: 247.4 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.4293, allocations: 123.6 kB / 1.125 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.4295, allocations: 175.1 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.4303, allocations: 0.5991 MB / 1.126 GB, free: 9.809 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4303, allocations: 0 / 1.126 GB, free: 9.809 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4303, allocations: 0 / 1.126 GB, free: 9.809 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.4303, allocations: 0 / 1.126 GB, free: 9.809 MB / 1.076 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.001398/0.4317, allocations: 0.6797 MB / 1.127 GB, free: 9.098 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4317, allocations: 16.03 kB / 1.127 GB, free: 9.082 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.4326, allocations: 136.5 kB / 1.127 GB, free: 8.949 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.4333, allocations: 341.4 kB / 1.127 GB, free: 8.586 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.4333, allocations: 21.03 kB / 1.127 GB, free: 8.566 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.4334, allocations: 32.33 kB / 1.127 GB, free: 8.535 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009861/0.4344, allocations: 0.6265 MB / 1.128 GB, free: 7.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.4344, allocations: 7.938 kB / 1.128 GB, free: 7.812 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.4344, allocations: 12 kB / 1.128 GB, free: 7.801 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/0.4345, allocations: 44.62 kB / 1.128 GB, free: 7.754 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.4353, allocations: 406.1 kB / 1.128 GB, free: 7.359 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.4384, allocations: 2.691 MB / 1.131 GB, free: 4.555 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.4392, allocations: 318.4 kB / 1.131 GB, free: 4.234 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.4395, allocations: 160.8 kB / 1.131 GB, free: 4.074 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4395, allocations: 4 kB / 1.131 GB, free: 4.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.4396, allocations: 34.56 kB / 1.131 GB, free: 4.027 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.4396, allocations: 0 / 1.131 GB, free: 4.027 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.002178/0.4418, allocations: 0.8381 MB / 1.132 GB, free: 3.176 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.4418, allocations: 55.64 kB / 1.132 GB, free: 3.109 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.4422, allocations: 333.5 kB / 1.132 GB, free: 2.777 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.4423, allocations: 29.7 kB / 1.133 GB, free: 2.742 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.4425, allocations: 252 kB / 1.133 GB, free: 2.492 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.4426, allocations: 103.2 kB / 1.133 GB, free: 2.391 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4427, allocations: 70.16 kB / 1.133 GB, free: 2.316 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.4429, allocations: 354.8 kB / 1.133 GB, free: 1.961 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.4432, allocations: 144.9 kB / 1.133 GB, free: 1.816 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.4437, allocations: 297.3 kB / 1.134 GB, free: 1.469 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.4445, allocations: 486.5 kB / 1.134 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4445, allocations: 0 / 1.134 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001136/0.4456, allocations: 0.5619 MB / 1.135 GB, free: 360 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4456, allocations: 4 kB / 1.135 GB, free: 356 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4457, allocations: 12 kB / 1.135 GB, free: 344 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.446, allocations: 86.52 kB / 1.135 GB, free: 248 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.4463, allocations: 92.25 kB / 1.135 GB, free: 156 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4464, allocations: 7.938 kB / 1.135 GB, free: 148 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.4466, allocations: 31.97 kB / 1.135 GB, free: 116 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.4466, allocations: 19.94 kB / 1.135 GB, free: 96 kB / 1.076 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.8638/1.31, allocations: 178.2 kB / 1.135 GB, free: 58.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.311, allocations: 39.73 kB / 1.135 GB, free: 58.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009676/1.312, allocations: 455.4 kB / 1.136 GB, free: 58.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.312, allocations: 5.406 kB / 1.136 GB, free: 58.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.312, allocations: 5.75 kB / 1.136 GB, free: 58.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.312, allocations: 3.469 kB / 1.136 GB, free: 58.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/1.313, allocations: 0.8358 MB / 1.136 GB, free: 57.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.313, allocations: 2.75 kB / 1.136 GB, free: 57.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/1.313, allocations: 55.94 kB / 1.136 GB, free: 57.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/1.313, allocations: 79.5 kB / 1.137 GB, free: 57.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.313, allocations: 5.906 kB / 1.137 GB, free: 57.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.313, allocations: 6.094 kB / 1.137 GB, free: 57.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.313, allocations: 0.5625 kB / 1.137 GB, free: 57.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/1.314, allocations: 0.5507 MB / 1.137 GB, free: 57.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/1.314, allocations: 57.48 kB / 1.137 GB, free: 57.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/1.314, allocations: 9.406 kB / 1.137 GB, free: 57.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/1.314, allocations: 20.73 kB / 1.137 GB, free: 57.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/1.314, allocations: 33.19 kB / 1.137 GB, free: 57.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/1.315, allocations: 5.719 kB / 1.137 GB, free: 57.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001602/1.315, allocations: 222.4 kB / 1.137 GB, free: 57.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.315, allocations: 0 / 1.137 GB, free: 57.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004237/1.315, allocations: 89.03 kB / 1.137 GB, free: 57.53 MB / 1.076 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.0001055/1.315, allocations: 102.8 kB / 1.138 GB, free: 57.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007107/1.316, allocations: 401.1 kB / 1.138 GB, free: 57.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.316, allocations: 0 / 1.138 GB, free: 57.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/1.316, allocations: 194.3 kB / 1.138 GB, free: 57.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/1.317, allocations: 131.1 kB / 1.138 GB, free: 57.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/1.318, allocations: 0.727 MB / 1.139 GB, free: 57.03 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/1.318, allocations: 222 kB / 1.139 GB, free: 56.95 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000192/1.318, allocations: 86.11 kB / 1.139 GB, free: 56.94 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/1.318, allocations: 30.03 kB / 1.139 GB, free: 56.93 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/1.318, allocations: 1.531 kB / 1.139 GB, free: 56.93 MB / 1.076 GB Notification: Performance of Templates: time 0.008877/1.327, allocations: 4.826 MB / 1.144 GB, free: 56.52 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.508245463017374]