Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001295/0.001295, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001445/0.001445, allocations: 215 kB / 20.13 MB, free: 2.949 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.023/3.023, allocations: 0.49 GB / 0.7923 GB, free: 1.367 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001931/0.001931, allocations: 59.91 kB / 1.15 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8057, allocations: 176.1 MB / 1.321 GB, free: 24.96 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004888/0.8106, allocations: 4.96 MB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004057/0.8146, allocations: 2.552 MB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.815, allocations: 43.94 kB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.8162, allocations: 398.3 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.8173, allocations: 470 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.8181, allocations: 405.1 kB / 1.33 GB, free: 19.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.8194, allocations: 0.9225 MB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.8199, allocations: 290 kB / 1.331 GB, free: 18.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005736/0.8205, allocations: 358.2 kB / 1.332 GB, free: 18.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.821, allocations: 368.8 kB / 1.332 GB, free: 18.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.8211, allocations: 37.94 kB / 1.332 GB, free: 18.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007774/0.8218, allocations: 416.8 kB / 1.332 GB, free: 18.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.822, allocations: 189.1 kB / 1.333 GB, free: 17.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.8223, allocations: 321.5 kB / 1.333 GB, free: 17.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.8235, allocations: 0.8942 MB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8235, allocations: 1.094 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8235, allocations: 0 / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.8235, allocations: 0 / 1.334 GB, free: 17.45 MB / 1.061 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.001296/0.8248, allocations: 0.9746 MB / 1.335 GB, free: 16.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8248, allocations: 13.83 kB / 1.335 GB, free: 16.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.294e-05/0.8248, allocations: 12.84 kB / 1.335 GB, free: 16.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.589e-05/0.8249, allocations: 93.48 kB / 1.335 GB, free: 16.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.8262, allocations: 206.2 kB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/0.827, allocations: 0.5493 MB / 1.336 GB, free: 16.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.8271, allocations: 35.17 kB / 1.336 GB, free: 16.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.8272, allocations: 50.06 kB / 1.336 GB, free: 16.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.8284, allocations: 0.8484 MB / 1.336 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.8284, allocations: 11.64 kB / 1.336 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.8285, allocations: 24.28 kB / 1.336 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.8286, allocations: 61.64 kB / 1.337 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.8295, allocations: 0.5654 MB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.8336, allocations: 5.652 MB / 1.343 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.8342, allocations: 433.9 kB / 1.343 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.8345, allocations: 202 kB / 1.343 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.8345, allocations: 2.656 kB / 1.343 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8345, allocations: 34.73 kB / 1.343 GB, free: 9.977 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.8345, allocations: 0 / 1.343 GB, free: 9.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002473/0.837, allocations: 1.513 MB / 1.345 GB, free: 9.031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.837, allocations: 55.69 kB / 1.345 GB, free: 8.969 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.8375, allocations: 0.497 MB / 1.345 GB, free: 8.738 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.8376, allocations: 30.83 kB / 1.345 GB, free: 8.703 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.8378, allocations: 366.7 kB / 1.346 GB, free: 8.406 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.8379, allocations: 126 kB / 1.346 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.838, allocations: 111.9 kB / 1.346 GB, free: 8.246 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8382, allocations: 369.8 kB / 1.346 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.8384, allocations: 193.4 kB / 1.346 GB, free: 7.848 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.8388, allocations: 445.8 kB / 1.347 GB, free: 7.453 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/0.8396, allocations: 0.6965 MB / 1.348 GB, free: 6.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.8396, allocations: 2 kB / 1.348 GB, free: 6.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001322/0.8409, allocations: 0.8076 MB / 1.348 GB, free: 6.559 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.8409, allocations: 10.19 kB / 1.348 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.841, allocations: 13.41 kB / 1.348 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.8415, allocations: 155.6 kB / 1.348 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.8419, allocations: 123 kB / 1.349 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.8445, allocations: 4.346 MB / 1.353 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.8451, allocations: 37.19 kB / 1.353 GB, free: 2.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.8451, allocations: 27.8 kB / 1.353 GB, free: 2.184 MB / 1.061 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.000277/0.8454, allocations: 212.5 kB / 1.353 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.8455, allocations: 62.06 kB / 1.353 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.8468, allocations: 0.599 MB / 1.354 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.8468, allocations: 8.266 kB / 1.354 GB, free: 1.699 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8468, allocations: 1.281 kB / 1.354 GB, free: 1.699 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8468, allocations: 1.406 kB / 1.354 GB, free: 1.699 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.849, allocations: 1.261 MB / 1.355 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.849, allocations: 6.281 kB / 1.355 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.8493, allocations: 58.39 kB / 1.355 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.8497, allocations: 151.2 kB / 1.355 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.8498, allocations: 7.281 kB / 1.355 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.8532, allocations: 4.335 MB / 1.359 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8532, allocations: 1.625 kB / 1.359 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.8544, allocations: 0.7158 MB / 1.36 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.8547, allocations: 170.1 kB / 1.36 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.8547, allocations: 12.95 kB / 1.36 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.855, allocations: 26.27 kB / 1.36 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.8551, allocations: 35.83 kB / 1.36 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.8551, allocations: 11.78 kB / 1.36 GB, free: 12.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004319/0.8555, allocations: 343.5 kB / 1.361 GB, free: 11.87 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8555, allocations: 0 / 1.361 GB, free: 11.87 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006969/0.8562, allocations: 142.9 kB / 1.361 GB, free: 11.86 MB / 1.076 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.001416/0.8577, allocations: 1.258 MB / 1.362 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.8593, allocations: 1.006 MB / 1.363 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8593, allocations: 0 / 1.363 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/0.8602, allocations: 0.7324 MB / 1.364 GB, free: 9.578 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8613, allocations: 208.3 kB / 1.364 GB, free: 9.508 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.8679, allocations: 5.168 MB / 1.369 GB, free: 6.191 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.8685, allocations: 0.9058 MB / 1.37 GB, free: 5.477 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003565/0.8688, allocations: 127.5 kB / 1.37 GB, free: 5.445 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.8691, allocations: 191.6 kB / 1.37 GB, free: 5.305 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/0.8691, allocations: 0 / 1.37 GB, free: 5.305 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3172/1.186, allocations: 12.99 MB / 1.383 GB, free: 4.215 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.64, allocations: 8.766 kB / 1.383 GB, free: 4.211 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.920564542990178]