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.001442/0.001442, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002648/0.002648, allocations: 215 kB / 22.25 MB, free: 5.262 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.4892 GB / 0.7944 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [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.002074/0.002074, allocations: 64.5 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007261/0.3606, allocations: 4.627 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004608/0.3653, allocations: 2.409 MB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.3657, allocations: 35.62 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.3671, allocations: 409.2 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.3685, allocations: 461.7 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3695, allocations: 383.2 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.371, allocations: 0.9139 MB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.3717, allocations: 318.6 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007798/0.3724, allocations: 358.6 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007512/0.3732, allocations: 346.4 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3733, allocations: 40 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009373/0.3743, allocations: 355.2 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.3746, allocations: 187.3 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.3751, allocations: 262.7 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.3766, allocations: 0.891 MB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3766, allocations: 0 / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3766, allocations: 3.938 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3766, allocations: 3.938 kB / 1.337 GB, free: 6.406 MB / 1.029 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.001672/0.3782, allocations: 0.8879 MB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.3783, allocations: 12.03 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.3784, allocations: 90.69 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.3797, allocations: 204.3 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009457/0.3807, allocations: 484.7 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.3807, allocations: 33.38 kB / 1.338 GB, free: 4.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.3808, allocations: 48.31 kB / 1.338 GB, free: 4.605 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3821, allocations: 0.9777 MB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.3821, allocations: 7.938 kB / 1.339 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.3822, allocations: 27.97 kB / 1.339 GB, free: 3.422 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.753e-05/0.3823, allocations: 60.97 kB / 1.339 GB, free: 3.363 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.3832, allocations: 0.5733 MB / 1.34 GB, free: 2.789 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/0.3884, allocations: 4.708 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.3891, allocations: 428 kB / 1.345 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.3894, allocations: 200.7 kB / 1.345 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3894, allocations: 7.938 kB / 1.345 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.3895, allocations: 34.5 kB / 1.345 GB, free: 13.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.3895, allocations: 0 / 1.345 GB, free: 13.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002612/0.3921, allocations: 1.136 MB / 1.346 GB, free: 12.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3922, allocations: 59.67 kB / 1.346 GB, free: 11.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006341/0.3928, allocations: 0.5027 MB / 1.347 GB, free: 11.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3928, allocations: 29.7 kB / 1.347 GB, free: 11.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.3932, allocations: 363.8 kB / 1.347 GB, free: 11.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3933, allocations: 126.9 kB / 1.347 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3935, allocations: 118.2 kB / 1.348 GB, free: 10.83 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000245/0.3937, allocations: 358.8 kB / 1.348 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.394, allocations: 197.2 kB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.3946, allocations: 447.9 kB / 1.348 GB, free: 9.723 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.3955, allocations: 0.6955 MB / 1.349 GB, free: 8.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3955, allocations: 0 / 1.349 GB, free: 8.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001433/0.397, allocations: 0.8137 MB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.397, allocations: 12.22 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.397, allocations: 8 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/0.3976, allocations: 148.1 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.398, allocations: 123.7 kB / 1.35 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.4021, allocations: 4.026 MB / 1.354 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.4025, allocations: 31.98 kB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.4025, allocations: 31.98 kB / 1.354 GB, free: 3.34 MB / 1.045 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.0003144/0.4028, allocations: 213.5 kB / 1.354 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.4029, allocations: 67.58 kB / 1.354 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4041, allocations: 0.5932 MB / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4041, allocations: 12.03 kB / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4041, allocations: 0 / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4041, allocations: 3.984 kB / 1.355 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.4062, allocations: 1.183 MB / 1.356 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4062, allocations: 7.984 kB / 1.356 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.4065, allocations: 55.89 kB / 1.356 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.4069, allocations: 148.3 kB / 1.356 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.407, allocations: 11.94 kB / 1.356 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/0.4108, allocations: 4.018 MB / 1.36 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4108, allocations: 0 / 1.36 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.4119, allocations: 0.7121 MB / 1.361 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.4122, allocations: 99.56 kB / 1.361 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.4123, allocations: 8 kB / 1.361 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.4125, allocations: 19.97 kB / 1.361 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.4126, allocations: 39.81 kB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.4126, allocations: 12 kB / 1.361 GB, free: 11.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004412/0.4131, allocations: 330.8 kB / 1.362 GB, free: 11.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4131, allocations: 0 / 1.362 GB, free: 11.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007301/0.4138, allocations: 144 kB / 1.362 GB, free: 11.15 MB / 1.061 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.001503/0.4153, allocations: 1.257 MB / 1.363 GB, free: 9.828 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.4169, allocations: 0.858 MB / 1.364 GB, free: 8.926 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4169, allocations: 0 / 1.364 GB, free: 8.926 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.4178, allocations: 0.577 MB / 1.364 GB, free: 8.305 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/0.4187, allocations: 204.7 kB / 1.365 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.4259, allocations: 5.114 MB / 1.37 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4263, allocations: 311.5 kB / 1.37 GB, free: 2.277 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.4267, allocations: 121.3 kB / 1.37 GB, free: 2.156 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.427, allocations: 203.3 kB / 1.37 GB, free: 1.957 MB / 1.061 GB Notification: Performance of SimCode: time 1.443e-06/0.427, allocations: 0 / 1.37 GB, free: 1.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0788/0.5058, allocations: 14.15 MB / 1.384 GB, free: 4.188 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.48, allocations: 9.938 kB / 1.384 GB, free: 4.18 MB / 1.076 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 19.30054231500253]