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.001531/0.001531, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001728/0.001728, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.932/2.932, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 176] 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.002325/0.002325, allocations: 67.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9914/0.9937, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.009739/1.003, allocations: 4.923 MB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005313/1.009, allocations: 2.514 MB / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008207/1.01, allocations: 34.72 kB / 1.286 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/1.011, allocations: 411 kB / 1.287 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/1.013, allocations: 473.4 kB / 1.287 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/1.014, allocations: 369.3 kB / 1.287 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001975/1.016, allocations: 0.9137 MB / 1.288 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006903/1.017, allocations: 289.8 kB / 1.289 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009689/1.018, allocations: 360.7 kB / 1.289 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/1.019, allocations: 363.3 kB / 1.289 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/1.019, allocations: 41.84 kB / 1.289 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/1.02, allocations: 414.3 kB / 1.29 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/1.02, allocations: 189.2 kB / 1.29 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005487/1.021, allocations: 316.1 kB / 1.29 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/1.023, allocations: 0.8872 MB / 1.291 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.023, allocations: 0 / 1.291 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/1.023, allocations: 1.188 kB / 1.291 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.783e-05/1.023, allocations: 0 / 1.291 GB, free: 4.289 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.002314/1.025, allocations: 0.9603 MB / 1.292 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.025, allocations: 10.22 kB / 1.292 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.218e-05/1.025, allocations: 15.56 kB / 1.292 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/1.026, allocations: 90.36 kB / 1.292 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/1.027, allocations: 217.9 kB / 1.292 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.028, allocations: 0.5307 MB / 1.293 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/1.028, allocations: 34.67 kB / 1.293 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.029, allocations: 45.61 kB / 1.293 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.03, allocations: 0.8481 MB / 1.294 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/1.03, allocations: 8.156 kB / 1.294 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/1.03, allocations: 23.95 kB / 1.294 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/1.03, allocations: 66.66 kB / 1.294 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/1.032, allocations: 0.5676 MB / 1.294 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007015/1.039, allocations: 5.654 MB / 1.3 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/1.04, allocations: 427.4 kB / 1.3 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/1.04, allocations: 201.9 kB / 1.301 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/1.04, allocations: 3.562 kB / 1.301 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/1.04, allocations: 37.25 kB / 1.301 GB, free: 12.83 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 2.766e-06/1.04, allocations: 0 / 1.301 GB, free: 12.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.003532/1.044, allocations: 1.511 MB / 1.302 GB, free: 11.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/1.044, allocations: 55.16 kB / 1.302 GB, free: 11.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/1.044, allocations: 0.4971 MB / 1.303 GB, free: 11.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/1.045, allocations: 30.8 kB / 1.303 GB, free: 11.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/1.045, allocations: 362.2 kB / 1.303 GB, free: 11.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/1.045, allocations: 122.4 kB / 1.303 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/1.045, allocations: 111.4 kB / 1.303 GB, free: 11.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002287/1.046, allocations: 365 kB / 1.304 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/1.046, allocations: 195.5 kB / 1.304 GB, free: 10.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/1.046, allocations: 445.8 kB / 1.304 GB, free: 10.31 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/1.047, allocations: 0.6926 MB / 1.305 GB, free: 9.777 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.047, allocations: 2.25 kB / 1.305 GB, free: 9.777 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001727/1.049, allocations: 0.815 MB / 1.306 GB, free: 9.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/1.049, allocations: 9.031 kB / 1.306 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.049, allocations: 12.66 kB / 1.306 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/1.05, allocations: 161.3 kB / 1.306 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/1.05, allocations: 120.7 kB / 1.306 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/1.055, allocations: 4.35 MB / 1.31 GB, free: 5.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/1.055, allocations: 32.89 kB / 1.31 GB, free: 5.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/1.055, allocations: 27.64 kB / 1.31 GB, free: 5.023 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.0003667/1.056, allocations: 225.8 kB / 1.31 GB, free: 4.844 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.056, allocations: 62.09 kB / 1.31 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/1.057, allocations: 0.5939 MB / 1.311 GB, free: 4.535 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.057, allocations: 3.656 kB / 1.311 GB, free: 4.535 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.057, allocations: 5.312 kB / 1.311 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.057, allocations: 5.906 kB / 1.311 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/1.059, allocations: 1.257 MB / 1.312 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.059, allocations: 3.359 kB / 1.312 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/1.059, allocations: 54.34 kB / 1.312 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/1.06, allocations: 142 kB / 1.312 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/1.06, allocations: 12.56 kB / 1.312 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/1.064, allocations: 4.336 MB / 1.317 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.064, allocations: 2.891 kB / 1.317 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/1.065, allocations: 0.7101 MB / 1.317 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/1.065, allocations: 174.2 kB / 1.318 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/1.066, allocations: 9.109 kB / 1.318 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/1.066, allocations: 26.08 kB / 1.318 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/1.066, allocations: 31.66 kB / 1.318 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/1.066, allocations: 11.5 kB / 1.318 GB, free: 14.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004354/1.066, allocations: 330.4 kB / 1.318 GB, free: 14.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/1.066, allocations: 0 / 1.318 GB, free: 14.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007252/1.067, allocations: 142.8 kB / 1.318 GB, free: 14.71 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.001501/1.069, allocations: 1.262 MB / 1.319 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001662/1.07, allocations: 1.01 MB / 1.32 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.07, allocations: 0 / 1.32 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/1.071, allocations: 0.7156 MB / 1.321 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.072, allocations: 209.2 kB / 1.321 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/1.08, allocations: 5.118 MB / 1.326 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/1.081, allocations: 0.9065 MB / 1.327 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005208/1.081, allocations: 113.1 kB / 1.327 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/1.082, allocations: 198.6 kB / 1.327 GB, free: 8.184 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/1.082, allocations: 0 / 1.327 GB, free: 8.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06576/1.148, allocations: 12.85 MB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.41, allocations: 7.922 kB / 1.34 GB, free: 3.051 MB / 1.029 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.902381257037632]