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.001395/0.001395, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00178/0.00178, allocations: 217.2 kB / 22.25 MB, free: 5.125 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.953 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.059/3.059, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.001987/0.001987, allocations: 67.42 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007559/0.3402, allocations: 5.01 MB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.345, allocations: 2.58 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.3454, allocations: 35.62 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.3469, allocations: 410 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.3481, allocations: 473.6 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3491, allocations: 379 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.3505, allocations: 0.9178 MB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.3511, allocations: 322.6 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.3518, allocations: 350.7 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.3524, allocations: 374.4 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.895e-05/0.3525, allocations: 36 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007935/0.3533, allocations: 415 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.3535, allocations: 179.4 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.3539, allocations: 314.3 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.3552, allocations: 0.887 MB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3552, allocations: 0 / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3552, allocations: 0 / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.465e-05/0.3552, allocations: 0 / 1.338 GB, free: 5.246 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.001744/0.357, allocations: 0.8974 MB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.357, allocations: 15.97 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.3572, allocations: 86.7 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.3585, allocations: 208.2 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009371/0.3594, allocations: 480.8 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.3594, allocations: 37.36 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.384e-05/0.3595, allocations: 52.27 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.3608, allocations: 0.8483 MB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.3608, allocations: 7.938 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.3609, allocations: 23.98 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.552e-05/0.361, allocations: 60.95 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.3619, allocations: 0.5695 MB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.3672, allocations: 5.574 MB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.3679, allocations: 428.6 kB / 1.347 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.3682, allocations: 200.7 kB / 1.347 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3683, allocations: 4 kB / 1.347 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.3683, allocations: 42.55 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.3683, allocations: 0 / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002658/0.371, allocations: 1.136 MB / 1.349 GB, free: 9.984 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.371, allocations: 55.69 kB / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.3716, allocations: 0.495 MB / 1.349 GB, free: 9.414 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3717, allocations: 29.7 kB / 1.349 GB, free: 9.379 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.372, allocations: 359.8 kB / 1.35 GB, free: 9.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3721, allocations: 123 kB / 1.35 GB, free: 8.902 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.3723, allocations: 114.2 kB / 1.35 GB, free: 8.785 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3725, allocations: 366.8 kB / 1.35 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.3728, allocations: 193.2 kB / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.3733, allocations: 451.3 kB / 1.351 GB, free: 7.672 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.3743, allocations: 0.6954 MB / 1.351 GB, free: 6.859 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.3743, allocations: 4 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001434/0.3757, allocations: 0.7979 MB / 1.352 GB, free: 6.035 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3758, allocations: 8 kB / 1.352 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.3758, allocations: 8 kB / 1.352 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.3763, allocations: 164.5 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.3768, allocations: 115.8 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.3808, allocations: 4.046 MB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.3812, allocations: 31.97 kB / 1.356 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.3812, allocations: 28 kB / 1.356 GB, free: 1.281 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.0002931/0.3815, allocations: 217.6 kB / 1.357 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3816, allocations: 63.62 kB / 1.357 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.3828, allocations: 0.6009 MB / 1.357 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3828, allocations: 8 kB / 1.357 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3828, allocations: 0 / 1.357 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3828, allocations: 7.922 kB / 1.357 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3848, allocations: 1.234 MB / 1.359 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3848, allocations: 0 / 1.359 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.385, allocations: 59.89 kB / 1.359 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.3855, allocations: 140.4 kB / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.3855, allocations: 11.94 kB / 1.359 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003626/0.3891, allocations: 4.037 MB / 1.363 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3891, allocations: 0 / 1.363 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3902, allocations: 0.708 MB / 1.363 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.3905, allocations: 87.58 kB / 1.363 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.3906, allocations: 16 kB / 1.363 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.3909, allocations: 19.97 kB / 1.363 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.3909, allocations: 39.81 kB / 1.364 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.391, allocations: 8 kB / 1.364 GB, free: 9.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004146/0.3914, allocations: 330.9 kB / 1.364 GB, free: 9.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 0 / 1.364 GB, free: 9.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006679/0.392, allocations: 140 kB / 1.364 GB, free: 9.043 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.001426/0.3935, allocations: 1.264 MB / 1.365 GB, free: 7.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.395, allocations: 0.8588 MB / 1.366 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.395, allocations: 0 / 1.366 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.3958, allocations: 0.58 MB / 1.367 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3968, allocations: 211.1 kB / 1.367 GB, free: 5.988 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/0.4039, allocations: 5.112 MB / 1.372 GB, free: 496 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.4046, allocations: 0.9097 MB / 1.373 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.4049, allocations: 121.3 kB / 1.373 GB, free: 15.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.4052, allocations: 195.4 kB / 1.373 GB, free: 15.23 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/0.4052, allocations: 0 / 1.373 GB, free: 15.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/0.462, allocations: 13.21 MB / 1.386 GB, free: 2.293 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.86, allocations: 10.17 kB / 1.386 GB, free: 2.285 MB / 1.076 GB " [Timeout remaining time 286] (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: 23.834687299095094]