Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0007746/0.0007746, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.001975, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007602/0.0007602, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001761, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.979/0.979, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1069/1.086, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.876/1.876, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5025/2.379, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.162e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003438/0.003459, allocations: 3.847 MB / 0.7331 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.005882, allocations: 1.437 MB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.00611, allocations: 36.31 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.00654, allocations: 188.1 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.007001, allocations: 376.4 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.007414, allocations: 323.5 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.008124, allocations: 0.972 MB / 0.7363 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.008469, allocations: 310.5 kB / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.008955, allocations: 0.5188 MB / 0.7371 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.009313, allocations: 340.8 kB / 0.7374 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.009354, allocations: 40 kB / 0.7375 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.009548, allocations: 103.8 kB / 0.7376 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.009665, allocations: 172.1 kB / 0.7377 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.009801, allocations: 171.6 kB / 0.7379 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.01021, allocations: 482.7 kB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.01023, allocations: 1.031 kB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01023, allocations: 0 / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.01024, allocations: 0 / 0.7384 GB, free: 11.27 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008337/0.01108, allocations: 0.9497 MB / 0.7393 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.01111, allocations: 9.812 kB / 0.7393 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.01164, allocations: 265.6 kB / 0.7396 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.01211, allocations: 479.5 kB / 0.74 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.01213, allocations: 33.36 kB / 0.7401 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.01218, allocations: 48.36 kB / 0.7401 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.01294, allocations: 0.7247 MB / 0.7408 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.01296, allocations: 16.06 kB / 0.7408 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.01299, allocations: 20.38 kB / 0.7408 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.325e-05/0.01305, allocations: 68.89 kB / 0.7409 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.01326, allocations: 231.7 kB / 0.7411 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.01519, allocations: 4.172 MB / 0.7452 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.01545, allocations: 283.4 kB / 0.7455 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.01552, allocations: 60.83 kB / 0.7455 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.01554, allocations: 5.062 kB / 0.7455 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.01556, allocations: 42.5 kB / 0.7456 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 2.464e-06/0.01557, allocations: 0 / 0.7456 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.000861/0.01643, allocations: 0.5024 MB / 0.7461 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.01645, allocations: 59.62 kB / 0.7461 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.01668, allocations: 439 kB / 0.7465 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.0167, allocations: 33.7 kB / 0.7466 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01682, allocations: 325.2 kB / 0.7469 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.01688, allocations: 126.9 kB / 0.747 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.01696, allocations: 110.2 kB / 0.7471 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003395/0.0173, allocations: 370.6 kB / 0.7475 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-05/0.01736, allocations: 57.28 kB / 0.7475 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.01753, allocations: 313.8 kB / 0.7478 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.01781, allocations: 445 kB / 0.7482 GB, free: 488 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01781, allocations: 0.9375 kB / 0.7482 GB, free: 488 kB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004545/0.01827, allocations: 490.3 kB / 0.7487 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01828, allocations: 13.25 kB / 0.7487 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.01829, allocations: 8 kB / 0.7487 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.01854, allocations: 128.3 kB / 0.7489 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.01878, allocations: 131.8 kB / 0.749 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.02046, allocations: 3.586 MB / 0.7525 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.02063, allocations: 24 kB / 0.7525 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.02065, allocations: 20.94 kB / 0.7525 GB, free: 11.78 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.02078, allocations: 162.3 kB / 0.7527 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.02084, allocations: 47.95 kB / 0.7527 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.02117, allocations: 305.8 kB / 0.753 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.02117, allocations: 4 kB / 0.753 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.02118, allocations: 4.906 kB / 0.753 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.02118, allocations: 0 / 0.753 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.02184, allocations: 0.6815 MB / 0.7537 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02185, allocations: 0 / 0.7537 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.02197, allocations: 51.91 kB / 0.7537 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.02205, allocations: 71.59 kB / 0.7538 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.02251, allocations: 118 kB / 0.7539 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.02252, allocations: 8 kB / 0.7539 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.02396, allocations: 3.606 MB / 0.7574 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02396, allocations: 1.062 kB / 0.7574 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.02443, allocations: 474.6 kB / 0.7579 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.02448, allocations: 8.812 kB / 0.7579 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.02463, allocations: 7.938 kB / 0.7579 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.0247, allocations: 40.92 kB / 0.758 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.02471, allocations: 8 kB / 0.758 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001521/0.02486, allocations: 188.4 kB / 0.7581 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02486, allocations: 1.031 kB / 0.7581 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005242/0.02539, allocations: 136 kB / 0.7583 GB, free: 5.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.02551, allocations: 98.19 kB / 0.7584 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007081/0.02622, allocations: 0.624 MB / 0.759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.348e-05/0.02624, allocations: 12.5 kB / 0.759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.02663, allocations: 472.6 kB / 0.7594 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.02729, allocations: 237.1 kB / 0.7597 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.03008, allocations: 0.9952 MB / 0.7606 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.03046, allocations: 154 kB / 0.7608 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.0307, allocations: 71.17 kB / 0.7609 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.03099, allocations: 185.2 kB / 0.761 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of SimCode: time 1.172e-06/0.03099, allocations: 0.9062 kB / 0.761 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of Templates: time 0.01353/0.04452, allocations: 8.679 MB / 0.7695 GB, free: 10.03 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112454456277192]