Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001371/0.001371, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002403/0.003774, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001442/0.001442, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001919/0.003361, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.183/1.183, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1114/1.294, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.698/2.698, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3047/3.003, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.116e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005228/0.005259, allocations: 3.173 MB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.008238, allocations: 1.169 MB / 0.8232 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.008543, allocations: 19.81 kB / 0.8232 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.009147, allocations: 147 kB / 0.8233 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005893/0.009736, allocations: 266.4 kB / 0.8236 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.01026, allocations: 219.5 kB / 0.8238 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007013/0.01096, allocations: 0.64 MB / 0.8244 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.01136, allocations: 218.7 kB / 0.8246 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.01192, allocations: 379 kB / 0.825 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.01233, allocations: 231.4 kB / 0.8252 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.01237, allocations: 27.94 kB / 0.8252 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.01263, allocations: 91.84 kB / 0.8253 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.01275, allocations: 107.7 kB / 0.8254 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.01289, allocations: 111.8 kB / 0.8255 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.01339, allocations: 346.6 kB / 0.8258 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-05/0.01341, allocations: 0 / 0.8258 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01341, allocations: 0 / 0.8258 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.01343, allocations: 0 / 0.8258 GB, free: 11.36 MB / 0.8073 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.001032/0.01446, allocations: 0.694 MB / 0.8265 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.01451, allocations: 16.02 kB / 0.8265 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007247/0.01523, allocations: 213.7 kB / 0.8267 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.01576, allocations: 333.3 kB / 0.8271 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.01579, allocations: 21.03 kB / 0.8271 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.01585, allocations: 36.36 kB / 0.8271 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.01641, allocations: 492 kB / 0.8276 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.01643, allocations: 3.984 kB / 0.8276 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.01646, allocations: 19.98 kB / 0.8276 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-05/0.01653, allocations: 36.64 kB / 0.8276 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.01678, allocations: 152.2 kB / 0.8278 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.01878, allocations: 2.365 MB / 0.8301 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.01917, allocations: 201.2 kB / 0.8303 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01927, allocations: 56.77 kB / 0.8303 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.0193, allocations: 4 kB / 0.8303 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.01933, allocations: 34.56 kB / 0.8304 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 2.866e-06/0.01933, allocations: 0 / 0.8304 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.001024/0.02036, allocations: 365.7 kB / 0.8307 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.02039, allocations: 55.64 kB / 0.8308 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.02065, allocations: 319.2 kB / 0.8311 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.02067, allocations: 33.7 kB / 0.8311 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.0208, allocations: 224.7 kB / 0.8313 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.02088, allocations: 99.14 kB / 0.8314 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.02098, allocations: 78.11 kB / 0.8315 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.0211, allocations: 346.7 kB / 0.8318 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.02118, allocations: 48.91 kB / 0.8319 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.02134, allocations: 183.2 kB / 0.8321 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.02166, allocations: 296.1 kB / 0.8323 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.02166, allocations: 4 kB / 0.8323 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004995/0.02216, allocations: 321.5 kB / 0.8326 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.02218, allocations: 12.09 kB / 0.8327 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.0222, allocations: 8 kB / 0.8327 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.02243, allocations: 71 kB / 0.8327 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.02273, allocations: 87.83 kB / 0.8328 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.02273, allocations: 4 kB / 0.8328 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.02292, allocations: 16 kB / 0.8328 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.02294, allocations: 19.94 kB / 0.8329 GB, free: 3.66 MB / 0.8073 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.0001449/0.02309, allocations: 144.5 kB / 0.833 GB, free: 3.508 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.02316, allocations: 35.91 kB / 0.833 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.02358, allocations: 233.8 kB / 0.8333 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02359, allocations: 0 / 0.8333 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.0236, allocations: 7.938 kB / 0.8333 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.0236, allocations: 0 / 0.8333 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008028/0.0244, allocations: 0.5185 MB / 0.8338 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02441, allocations: 0 / 0.8338 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.02459, allocations: 52 kB / 0.8338 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.02468, allocations: 47.75 kB / 0.8339 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.02485, allocations: 67 kB / 0.8339 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.02486, allocations: 0 / 0.8339 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.02487, allocations: 4 kB / 0.8339 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.02488, allocations: 3.938 kB / 0.8339 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.0253, allocations: 375.8 kB / 0.8343 GB, free: 2.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.02534, allocations: 0 / 0.8343 GB, free: 2.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.02549, allocations: 11.98 kB / 0.8343 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.02556, allocations: 27.95 kB / 0.8343 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.02557, allocations: 8 kB / 0.8343 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001218/0.02569, allocations: 120.7 kB / 0.8345 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02569, allocations: 0 / 0.8345 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004009/0.02609, allocations: 84 kB / 0.8345 GB, free: 1.82 MB / 0.8073 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.0001567/0.02625, allocations: 92.33 kB / 0.8346 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.02666, allocations: 217.6 kB / 0.8348 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.302e-05/0.02669, allocations: 15.97 kB / 0.8348 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.0269, allocations: 122.8 kB / 0.835 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.02795, allocations: 1.13 MB / 0.8361 GB, free: 16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.03071, allocations: 0.6956 MB / 0.8367 GB, free: 15.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.03082, allocations: 121.5 kB / 0.8369 GB, free: 15.12 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.03106, allocations: 51.31 kB / 0.8369 GB, free: 15.06 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.03137, allocations: 137.3 kB / 0.837 GB, free: 14.93 MB / 0.823 GB Notification: Performance of SimCode: time 2.815e-06/0.03137, allocations: 0 / 0.837 GB, free: 14.93 MB / 0.823 GB Notification: Performance of Templates: time 0.01132/0.04269, allocations: 5.197 MB / 0.8421 GB, free: 9.871 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.921282663010061]