Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002154/0.002154, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.00266/0.00266, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.719/2.719, allocations: 476.8 MB / 0.7715 GB, free: 3.875 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",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.001954/0.001954, allocations: 71.14 kB / 1.118 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 169.9 MB / 1.284 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007117/0.3353, allocations: 4.609 MB / 1.289 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004458/0.3397, allocations: 2.401 MB / 1.291 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005108/0.3402, allocations: 35.62 kB / 1.291 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.3417, allocations: 401.9 kB / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.343, allocations: 469.7 kB / 1.292 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.3439, allocations: 382.7 kB / 1.292 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3452, allocations: 0.9177 MB / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.3457, allocations: 322.6 kB / 1.293 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.3464, allocations: 358.6 kB / 1.294 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.3469, allocations: 370.4 kB / 1.294 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.347, allocations: 40 kB / 1.294 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006719/0.3476, allocations: 359.2 kB / 1.294 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.3478, allocations: 179.4 kB / 1.295 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.3481, allocations: 266.6 kB / 1.295 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3492, allocations: 0.8871 MB / 1.296 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3492, allocations: 0 / 1.296 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3492, allocations: 0 / 1.296 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3492, allocations: 3.938 kB / 1.296 GB, free: 7.367 MB / 0.9981 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.001462/0.3507, allocations: 0.8897 MB / 1.297 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3507, allocations: 12.03 kB / 1.297 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.521e-05/0.3508, allocations: 9.188 kB / 1.297 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.887e-05/0.3509, allocations: 94.64 kB / 1.297 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.3522, allocations: 204.3 kB / 1.297 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.353, allocations: 480.8 kB / 1.297 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.353, allocations: 37.36 kB / 1.297 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.3531, allocations: 44.33 kB / 1.297 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.3544, allocations: 0.9738 MB / 1.298 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.3544, allocations: 11.92 kB / 1.298 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.3545, allocations: 23.98 kB / 1.298 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.43e-05/0.3546, allocations: 64.95 kB / 1.299 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.3555, allocations: 0.5734 MB / 1.299 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.3601, allocations: 4.708 MB / 1.304 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.3608, allocations: 430.8 kB / 1.304 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3611, allocations: 204.7 kB / 1.304 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.3612, allocations: 4 kB / 1.304 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3612, allocations: 35.09 kB / 1.304 GB, free: 14.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/0.3612, allocations: 0 / 1.304 GB, free: 14.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002544/0.3637, allocations: 1.136 MB / 1.305 GB, free: 13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3638, allocations: 55.69 kB / 1.305 GB, free: 12.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.3643, allocations: 0.495 MB / 1.306 GB, free: 12.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.3644, allocations: 29.7 kB / 1.306 GB, free: 12.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.3647, allocations: 363.8 kB / 1.306 GB, free: 12.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3648, allocations: 127 kB / 1.306 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.3649, allocations: 110.2 kB / 1.307 GB, free: 11.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3651, allocations: 362.8 kB / 1.307 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.3654, allocations: 201.1 kB / 1.307 GB, free: 11.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.366, allocations: 447.3 kB / 1.308 GB, free: 10.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.3668, allocations: 0.6841 MB / 1.308 GB, free: 9.879 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3668, allocations: 4 kB / 1.308 GB, free: 9.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001397/0.3682, allocations: 0.818 MB / 1.309 GB, free: 9.035 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.3683, allocations: 11.94 kB / 1.309 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3683, allocations: 11.94 kB / 1.309 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/0.3688, allocations: 152.1 kB / 1.309 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.3693, allocations: 119.8 kB / 1.309 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.373, allocations: 4.034 MB / 1.313 GB, free: 4.355 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.3734, allocations: 35.97 kB / 1.313 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.3735, allocations: 28 kB / 1.313 GB, free: 4.293 MB / 1.014 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.0002894/0.3738, allocations: 214.6 kB / 1.313 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.3739, allocations: 63.62 kB / 1.314 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3749, allocations: 0.5969 MB / 1.314 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3749, allocations: 4 kB / 1.314 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3749, allocations: 0 / 1.314 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.375, allocations: 3.984 kB / 1.314 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.3769, allocations: 1.186 MB / 1.315 GB, free: 2.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3769, allocations: 4 kB / 1.315 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.3771, allocations: 51.89 kB / 1.315 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.3776, allocations: 152.3 kB / 1.315 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.3776, allocations: 8 kB / 1.315 GB, free: 1.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/0.3811, allocations: 4.002 MB / 1.319 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3811, allocations: 7.969 kB / 1.319 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3822, allocations: 0.7127 MB / 1.32 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.3824, allocations: 91.58 kB / 1.32 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.3825, allocations: 8 kB / 1.32 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.3827, allocations: 27.91 kB / 1.32 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.3828, allocations: 35.88 kB / 1.32 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.3828, allocations: 12 kB / 1.32 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003724/0.3832, allocations: 330.8 kB / 1.321 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3832, allocations: 0 / 1.321 GB, free: 12.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000645/0.3839, allocations: 144 kB / 1.321 GB, free: 12.13 MB / 1.029 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.001369/0.3852, allocations: 1.257 MB / 1.322 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.3867, allocations: 0.8625 MB / 1.323 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3867, allocations: 0 / 1.323 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.3875, allocations: 0.576 MB / 1.323 GB, free: 9.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3885, allocations: 205.3 kB / 1.324 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/0.3959, allocations: 5.123 MB / 1.329 GB, free: 3.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.3964, allocations: 307.5 kB / 1.329 GB, free: 3.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004702/0.3969, allocations: 121.3 kB / 1.329 GB, free: 3.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.3972, allocations: 195.4 kB / 1.329 GB, free: 2.934 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/0.3972, allocations: 0 / 1.329 GB, free: 2.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.4435, allocations: 13.97 MB / 1.343 GB, free: 5.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.96, allocations: 9.969 kB / 1.343 GB, free: 5.367 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.486757733044215]