Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0008404/0.0008404, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001966, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007204/0.0007204, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001731, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9143/0.9143, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.019, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.849/1.849, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4761/2.325, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.424e-05, allocations: 3.969 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003408/0.003433, allocations: 2.761 MB / 0.7323 GB, free: 1.715 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.00564, allocations: 1.502 MB / 0.7338 GB, free: 228 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.005794, allocations: 7.938 kB / 0.7338 GB, free: 220 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.006171, allocations: 115.3 kB / 0.7339 GB, free: 104 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.006553, allocations: 217.3 kB / 0.7341 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.007117, allocations: 261.4 kB / 0.7344 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.007587, allocations: 438.5 kB / 0.7348 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.007851, allocations: 175.1 kB / 0.735 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.008247, allocations: 239.5 kB / 0.7352 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.008577, allocations: 200.9 kB / 0.7354 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.008609, allocations: 24 kB / 0.7354 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.008907, allocations: 176.2 kB / 0.7356 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.009008, allocations: 123.7 kB / 0.7357 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.009086, allocations: 88.5 kB / 0.7358 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.009489, allocations: 319 kB / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.009503, allocations: 1.781 kB / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.009505, allocations: 0 / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.009519, allocations: 3.938 kB / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007453/0.01026, allocations: 0.5587 MB / 0.7366 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.0103, allocations: 8.938 kB / 0.7366 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/0.01105, allocations: 218.6 kB / 0.7368 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.01132, allocations: 212.2 kB / 0.7371 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.01133, allocations: 18.69 kB / 0.7371 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.01142, allocations: 32.73 kB / 0.7371 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.01177, allocations: 378.6 kB / 0.7375 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.01179, allocations: 4.812 kB / 0.7375 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.01181, allocations: 15.94 kB / 0.7375 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/0.01189, allocations: 37.31 kB / 0.7375 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.01204, allocations: 112.2 kB / 0.7376 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.01319, allocations: 1.291 MB / 0.7389 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.01338, allocations: 165.1 kB / 0.739 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.01344, allocations: 48.83 kB / 0.7391 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.01346, allocations: 7.984 kB / 0.7391 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.01348, allocations: 35.09 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.01348, allocations: 1.781 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0007737/0.01426, allocations: 461.3 kB / 0.7396 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.01428, allocations: 55.34 kB / 0.7396 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.01443, allocations: 228.3 kB / 0.7398 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.01445, allocations: 29.7 kB / 0.7399 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.01453, allocations: 185.6 kB / 0.74 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.01457, allocations: 91.19 kB / 0.7401 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.01465, allocations: 77.61 kB / 0.7402 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003515/0.01501, allocations: 331.6 kB / 0.7405 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.01508, allocations: 39.97 kB / 0.7406 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.01517, allocations: 120.1 kB / 0.7407 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.01537, allocations: 223.9 kB / 0.7409 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01537, allocations: 4 kB / 0.7409 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004033/0.01577, allocations: 292.9 kB / 0.7412 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01579, allocations: 11.94 kB / 0.7412 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01579, allocations: 2.406 kB / 0.7412 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.01636, allocations: 203.5 kB / 0.7414 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01652, allocations: 59.91 kB / 0.7414 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.01775, allocations: 1.581 MB / 0.743 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.0179, allocations: 16.66 kB / 0.743 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01792, allocations: 11.98 kB / 0.743 GB, free: 6.375 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.586e-05/0.01801, allocations: 134 kB / 0.7431 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.01805, allocations: 19.92 kB / 0.7432 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.01823, allocations: 160.4 kB / 0.7433 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.01823, allocations: 0 / 0.7433 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.01823, allocations: 0 / 0.7433 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01824, allocations: 10.95 kB / 0.7433 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.01866, allocations: 449.7 kB / 0.7437 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01866, allocations: 0 / 0.7437 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.01894, allocations: 99.89 kB / 0.7438 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.01899, allocations: 31.84 kB / 0.7439 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01899, allocations: 3.969 kB / 0.7439 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.01901, allocations: 19.92 kB / 0.7439 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01901, allocations: 4 kB / 0.7439 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01902, allocations: 3.938 kB / 0.7439 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.01928, allocations: 336.2 kB / 0.7442 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.01931, allocations: 7.938 kB / 0.7442 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.0194, allocations: 8 kB / 0.7442 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.01943, allocations: 15.97 kB / 0.7443 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.01944, allocations: 8 kB / 0.7443 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.0195, allocations: 68.12 kB / 0.7443 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.0195, allocations: 0 / 0.7443 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002729/0.01977, allocations: 95.94 kB / 0.7444 GB, free: 4.879 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001643/0.01994, allocations: 95.58 kB / 0.7445 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.02037, allocations: 343.3 kB / 0.7448 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.02038, allocations: 4 kB / 0.7448 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.02047, allocations: 81.52 kB / 0.7449 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.02082, allocations: 390.2 kB / 0.7453 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.0233, allocations: 0.62 MB / 0.7459 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.283e-05/0.02338, allocations: 116.7 kB / 0.746 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.0235, allocations: 29.72 kB / 0.746 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.02364, allocations: 95.34 kB / 0.7461 GB, free: 3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/0.02364, allocations: 1.812 kB / 0.7461 GB, free: 3 MB / 0.7136 GB Notification: Performance of Templates: time 0.006715/0.03036, allocations: 4.57 MB / 0.7506 GB, free: 14.59 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 4.7587038446217775]