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.001276/0.001276, 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.001432/0.001432, allocations: 215.3 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.992 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.71/2.71, allocations: 476.7 MB / 0.7707 GB, free: 4.301 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_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.002018/0.002018, allocations: 65.61 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2939, allocations: 169.9 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00766/0.3016, allocations: 5.017 MB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00483/0.3064, allocations: 2.561 MB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.3069, allocations: 35.62 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.3083, allocations: 428.1 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.3096, allocations: 461.7 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3106, allocations: 380.1 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.3121, allocations: 0.9295 MB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006283/0.3127, allocations: 317.9 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006929/0.3134, allocations: 350.6 kB / 1.294 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.3141, allocations: 370.4 kB / 1.294 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.3143, allocations: 40 kB / 1.294 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.3151, allocations: 411.1 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.3153, allocations: 191.4 kB / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.3157, allocations: 318.3 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.317, allocations: 0.8831 MB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.317, allocations: 0 / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.644e-06/0.317, allocations: 0 / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.011e-05/0.3171, allocations: 0 / 1.296 GB, free: 14.97 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.001754/0.3188, allocations: 0.8896 MB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3189, allocations: 8.031 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.319, allocations: 94.69 kB / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.3203, allocations: 204.2 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009534/0.3212, allocations: 480.7 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.3213, allocations: 33.36 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.3214, allocations: 52.31 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.3226, allocations: 0.8485 MB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.3226, allocations: 7.938 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.3227, allocations: 27.92 kB / 1.298 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.3228, allocations: 64.95 kB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.3237, allocations: 0.5695 MB / 1.299 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005155/0.3289, allocations: 5.57 MB / 1.304 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.3295, allocations: 430.2 kB / 1.305 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.3299, allocations: 200.7 kB / 1.305 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3299, allocations: 4 kB / 1.305 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3299, allocations: 35.03 kB / 1.305 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.3299, allocations: 4 kB / 1.305 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002603/0.3325, allocations: 1.132 MB / 1.306 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3326, allocations: 59.62 kB / 1.306 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.3332, allocations: 0.495 MB / 1.307 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.3332, allocations: 29.7 kB / 1.307 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.3335, allocations: 363.8 kB / 1.307 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.3336, allocations: 123 kB / 1.307 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3338, allocations: 118.2 kB / 1.307 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3339, allocations: 362.8 kB / 1.308 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.3342, allocations: 197.2 kB / 1.308 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.3348, allocations: 447.3 kB / 1.308 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/0.3357, allocations: 0.688 MB / 1.309 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3357, allocations: 4 kB / 1.309 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001435/0.3371, allocations: 0.8062 MB / 1.31 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3372, allocations: 14.19 kB / 1.31 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.3372, allocations: 12.12 kB / 1.31 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/0.3377, allocations: 144.1 kB / 1.31 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.3382, allocations: 127.7 kB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.3421, allocations: 4.041 MB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.3426, allocations: 39.97 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.3426, allocations: 28 kB / 1.314 GB, free: 11.02 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.0003196/0.3429, allocations: 213.4 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3431, allocations: 63.69 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3442, allocations: 0.5891 MB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3442, allocations: 7.984 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3442, allocations: 0 / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3442, allocations: 7.938 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3462, allocations: 1.23 MB / 1.316 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3462, allocations: 4 kB / 1.316 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.3465, allocations: 51.89 kB / 1.316 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/0.3469, allocations: 148.3 kB / 1.316 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.3469, allocations: 11.94 kB / 1.316 GB, free: 8.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.3505, allocations: 4.026 MB / 1.32 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3505, allocations: 8.188 kB / 1.32 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3516, allocations: 0.7086 MB / 1.321 GB, free: 3.422 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.3519, allocations: 91.58 kB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.352, allocations: 8 kB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.3523, allocations: 23.97 kB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.3524, allocations: 39.81 kB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3524, allocations: 12 kB / 1.321 GB, free: 3.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004276/0.3528, allocations: 330.9 kB / 1.321 GB, free: 2.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3528, allocations: 0 / 1.321 GB, free: 2.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007202/0.3536, allocations: 140 kB / 1.321 GB, free: 2.793 MB / 1.014 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.001528/0.3551, allocations: 1.268 MB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.3568, allocations: 0.862 MB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3568, allocations: 0 / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.3577, allocations: 0.5727 MB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3587, allocations: 209.4 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/0.3663, allocations: 5.113 MB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.3669, allocations: 0.9058 MB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003582/0.3673, allocations: 117.3 kB / 1.33 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.3676, allocations: 195.4 kB / 1.33 GB, free: 9.008 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/0.3676, allocations: 0 / 1.33 GB, free: 9.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/0.4232, allocations: 13.22 MB / 1.343 GB, free: 12.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.6, allocations: 8.797 kB / 1.343 GB, free: 12.05 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: 18.969715110957623]