Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009213/0.0009213, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008999/0.0008999, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.8996/0.8996, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.409/2.409, allocations: 438.8 MB / 0.6827 GB, free: 13.53 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.279e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003514/0.003536, allocations: 3.752 MB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.005624, allocations: 1.407 MB / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.005866, allocations: 35.62 kB / 0.8437 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.006361, allocations: 158.7 kB / 0.8438 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006568/0.007018, allocations: 361.7 kB / 0.8441 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.007462, allocations: 315.4 kB / 0.8444 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007861/0.008249, allocations: 0.9525 MB / 0.8454 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.008631, allocations: 342.4 kB / 0.8457 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.009146, allocations: 490.6 kB / 0.8462 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.009515, allocations: 323 kB / 0.8465 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.009559, allocations: 40 kB / 0.8465 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.009726, allocations: 95.86 kB / 0.8466 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.00986, allocations: 195.4 kB / 0.8468 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.01001, allocations: 207.4 kB / 0.847 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.01046, allocations: 0.5098 MB / 0.8475 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01046, allocations: 0 / 0.8475 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01047, allocations: 0 / 0.8475 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.01047, allocations: 0 / 0.8475 GB, free: 4.98 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0007427/0.01122, allocations: 0.8023 MB / 0.8483 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.01125, allocations: 12.62 kB / 0.8483 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.01177, allocations: 204.4 kB / 0.8485 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.01225, allocations: 471.1 kB / 0.8489 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.01227, allocations: 33.38 kB / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.01232, allocations: 48.36 kB / 0.849 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.0128, allocations: 0.7233 MB / 0.8497 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.01282, allocations: 8.125 kB / 0.8497 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.01286, allocations: 28.36 kB / 0.8498 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.01292, allocations: 76.83 kB / 0.8498 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.01314, allocations: 226.4 kB / 0.85 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.01545, allocations: 4.17 MB / 0.8541 GB, free: 13.81 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.0157, allocations: 289.1 kB / 0.8544 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.01578, allocations: 60.83 kB / 0.8544 GB, free: 13.46 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.0158, allocations: 4 kB / 0.8544 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.01582, allocations: 38.56 kB / 0.8545 GB, free: 13.41 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.01582, allocations: 0 / 0.8545 GB, free: 13.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.0008624/0.01669, allocations: 0.4961 MB / 0.855 GB, free: 12.88 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.01672, allocations: 55.69 kB / 0.855 GB, free: 12.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.01696, allocations: 446.9 kB / 0.8555 GB, free: 12.37 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01698, allocations: 33.7 kB / 0.8555 GB, free: 12.33 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.0171, allocations: 325.2 kB / 0.8558 GB, free: 12 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.01716, allocations: 122.9 kB / 0.8559 GB, free: 11.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.01726, allocations: 110.2 kB / 0.856 GB, free: 11.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01736, allocations: 370.6 kB / 0.8564 GB, free: 11.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.01742, allocations: 53.3 kB / 0.8564 GB, free: 11.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.0176, allocations: 323.1 kB / 0.8567 GB, free: 10.91 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.0179, allocations: 450.9 kB / 0.8572 GB, free: 10.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.01791, allocations: 4 kB / 0.8572 GB, free: 10.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000641/0.01855, allocations: 483.7 kB / 0.8576 GB, free: 9.852 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01857, allocations: 12 kB / 0.8576 GB, free: 9.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.01858, allocations: 8 kB / 0.8576 GB, free: 9.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.01884, allocations: 126.5 kB / 0.8578 GB, free: 9.688 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.01905, allocations: 111.8 kB / 0.8579 GB, free: 9.578 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.02066, allocations: 3.587 MB / 0.8614 GB, free: 5.707 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.02083, allocations: 20 kB / 0.8614 GB, free: 5.688 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.02085, allocations: 23.98 kB / 0.8614 GB, free: 5.664 MB / 0.823 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.02098, allocations: 156.6 kB / 0.8616 GB, free: 5.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.02103, allocations: 43.95 kB / 0.8616 GB, free: 5.457 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.02137, allocations: 321.1 kB / 0.8619 GB, free: 5.113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.02138, allocations: 4 kB / 0.8619 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02138, allocations: 0 / 0.8619 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.02138, allocations: 7.969 kB / 0.8619 GB, free: 5.102 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.02205, allocations: 0.6771 MB / 0.8626 GB, free: 4.355 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02205, allocations: 4 kB / 0.8626 GB, free: 4.352 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.02216, allocations: 43.92 kB / 0.8626 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.02235, allocations: 110.6 kB / 0.8627 GB, free: 4.18 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.02236, allocations: 12 kB / 0.8627 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.02396, allocations: 3.589 MB / 0.8663 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02396, allocations: 0 / 0.8663 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.02434, allocations: 470.2 kB / 0.8667 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.02443, allocations: 71.62 kB / 0.8668 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.02446, allocations: 8 kB / 0.8668 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.02456, allocations: 8 kB / 0.8668 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.02461, allocations: 43.8 kB / 0.8668 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.02462, allocations: 8 kB / 0.8668 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001165/0.02474, allocations: 180.4 kB / 0.867 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-08/0.02474, allocations: 0 / 0.867 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003797/0.02512, allocations: 144 kB / 0.8671 GB, free: 15.32 MB / 0.8386 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.0001137/0.02523, allocations: 92.3 kB / 0.8672 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.02577, allocations: 0.6267 MB / 0.8678 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.02578, allocations: 8.5 kB / 0.8678 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.02607, allocations: 475.4 kB / 0.8683 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.02655, allocations: 190.9 kB / 0.8685 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.02764, allocations: 0.9607 MB / 0.8694 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.02774, allocations: 150 kB / 0.8696 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.02791, allocations: 69.05 kB / 0.8696 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.02814, allocations: 181.2 kB / 0.8698 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of SimCode: time 1.112e-06/0.02814, allocations: 3.938 kB / 0.8698 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.0108/0.03894, allocations: 8.367 MB / 0.878 GB, free: 4.223 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.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.232212150935084]