Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001585/0.001585, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001739/0.001739, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.46/1.46, 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.054/3.054, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.002063/0.002063, allocations: 79.89 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9959/0.998, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01082/1.009, allocations: 11.29 MB / 1.332 GB, free: 17.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009621/1.018, allocations: 5.888 MB / 1.338 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.02, allocations: 69.28 kB / 1.338 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004686/1.025, allocations: 1.756 MB / 1.34 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004371/1.029, allocations: 1.177 MB / 1.341 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/1.032, allocations: 0.8167 MB / 1.342 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005404/1.037, allocations: 2.124 MB / 1.344 GB, free: 10 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/1.04, allocations: 1.034 MB / 1.345 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/1.042, allocations: 0.8788 MB / 1.346 GB, free: 9.168 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/1.045, allocations: 0.9603 MB / 1.347 GB, free: 8.762 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005861/1.045, allocations: 114 kB / 1.347 GB, free: 8.762 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/1.049, allocations: 1.211 MB / 1.348 GB, free: 8.344 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00137/1.05, allocations: 0.538 MB / 1.349 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001669/1.052, allocations: 0.7816 MB / 1.349 GB, free: 7.633 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005916/1.058, allocations: 2.441 MB / 1.352 GB, free: 6.777 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.058, allocations: 0 / 1.352 GB, free: 6.777 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/1.058, allocations: 0 / 1.352 GB, free: 6.777 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.874e-05/1.058, allocations: 1.125 kB / 1.352 GB, free: 6.777 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00453/1.062, allocations: 1.926 MB / 1.354 GB, free: 5.496 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.062, allocations: 13.39 kB / 1.354 GB, free: 5.492 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.88e-05/1.062, allocations: 35.16 kB / 1.354 GB, free: 5.488 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002771/1.063, allocations: 211.5 kB / 1.354 GB, free: 5.355 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005117/1.068, allocations: 0.6762 MB / 1.355 GB, free: 5.223 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/1.07, allocations: 1.014 MB / 1.356 GB, free: 4.652 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/1.07, allocations: 97.98 kB / 1.356 GB, free: 4.605 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/1.07, allocations: 122.5 kB / 1.356 GB, free: 4.566 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/1.074, allocations: 2.216 MB / 1.358 GB, free: 3.324 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/1.074, allocations: 14.72 kB / 1.358 GB, free: 3.316 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/1.074, allocations: 60.41 kB / 1.358 GB, free: 3.273 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002708/1.074, allocations: 166 kB / 1.358 GB, free: 3.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/1.078, allocations: 1.869 MB / 1.36 GB, free: 2.598 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/1.092, allocations: 12.45 MB / 1.372 GB, free: 8.094 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/1.097, allocations: 1.869 MB / 1.374 GB, free: 7.566 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009991/1.098, allocations: 0.5621 MB / 1.375 GB, free: 7.375 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/1.098, allocations: 100.8 kB / 1.375 GB, free: 7.277 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.098, allocations: 51.25 kB / 1.375 GB, free: 7.223 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 2.805e-06/1.098, allocations: 1.062 kB / 1.375 GB, free: 7.223 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.007152/1.105, allocations: 3.732 MB / 1.378 GB, free: 5.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/1.105, allocations: 67.84 kB / 1.378 GB, free: 5.184 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/1.107, allocations: 0.9195 MB / 1.379 GB, free: 4.801 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.532e-05/1.107, allocations: 45.08 kB / 1.379 GB, free: 4.754 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/1.108, allocations: 0.7519 MB / 1.38 GB, free: 4.148 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/1.108, allocations: 402.8 kB / 1.38 GB, free: 3.836 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004578/1.108, allocations: 289.8 kB / 1.381 GB, free: 3.699 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.109, allocations: 301.8 kB / 1.381 GB, free: 3.402 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.11, allocations: 0.612 MB / 1.382 GB, free: 3.199 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.111, allocations: 1.115 MB / 1.383 GB, free: 2.355 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/1.114, allocations: 1.825 MB / 1.385 GB, free: 1.164 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.114, allocations: 8.406 kB / 1.385 GB, free: 1.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004159/1.118, allocations: 2.098 MB / 1.387 GB, free: 316 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/1.118, allocations: 12.34 kB / 1.387 GB, free: 316 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/1.118, allocations: 15.41 kB / 1.387 GB, free: 316 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009063/1.119, allocations: 259 kB / 1.387 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/1.12, allocations: 373.7 kB / 1.387 GB, free: 172 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.131, allocations: 11.58 MB / 1.399 GB, free: 4.758 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/1.132, allocations: 127.9 kB / 1.399 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.132, allocations: 70.5 kB / 1.399 GB, free: 4.719 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0008781/1.133, allocations: 411.3 kB / 1.399 GB, free: 4.457 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/1.134, allocations: 135.6 kB / 1.399 GB, free: 4.387 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/1.137, allocations: 1.683 MB / 1.401 GB, free: 3.691 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.137, allocations: 10.81 kB / 1.401 GB, free: 3.691 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.137, allocations: 2.125 kB / 1.401 GB, free: 3.691 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.137, allocations: 7.375 kB / 1.401 GB, free: 3.691 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006042/1.143, allocations: 3.285 MB / 1.404 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.143, allocations: 9.562 kB / 1.404 GB, free: 2.211 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009308/1.144, allocations: 223 kB / 1.404 GB, free: 2.191 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008135/1.145, allocations: 245.9 kB / 1.405 GB, free: 2.082 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/1.145, allocations: 33.16 kB / 1.405 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/1.155, allocations: 11.57 MB / 1.416 GB, free: 6.652 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.155, allocations: 6.922 kB / 1.416 GB, free: 6.652 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/1.159, allocations: 1.813 MB / 1.418 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/1.159, allocations: 309.2 kB / 1.418 GB, free: 5.508 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.16, allocations: 29.33 kB / 1.418 GB, free: 5.492 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/1.16, allocations: 90.91 kB / 1.418 GB, free: 5.477 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/1.161, allocations: 96.91 kB / 1.418 GB, free: 5.449 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.129e-05/1.161, allocations: 36.45 kB / 1.418 GB, free: 5.441 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001078/1.162, allocations: 0.6169 MB / 1.419 GB, free: 5.188 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.162, allocations: 0 / 1.419 GB, free: 5.188 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002041/1.164, allocations: 397.4 kB / 1.419 GB, free: 5.141 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.003739/1.168, allocations: 2.394 MB / 1.422 GB, free: 3.645 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004182/1.172, allocations: 2.402 MB / 1.424 GB, free: 2.273 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.172, allocations: 1.531 kB / 1.424 GB, free: 2.273 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002444/1.174, allocations: 1.58 MB / 1.425 GB, free: 1.18 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.176, allocations: 369.5 kB / 1.426 GB, free: 1.039 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.197, allocations: 11.53 MB / 1.437 GB, free: 9.867 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.199, allocations: 1.326 MB / 1.438 GB, free: 8.875 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001181/1.2, allocations: 358.9 kB / 1.439 GB, free: 8.723 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008142/1.201, allocations: 0.5345 MB / 1.439 GB, free: 8.27 MB / 1.123 GB Notification: Performance of SimCode: time 1.463e-06/1.201, allocations: 0 / 1.439 GB, free: 8.27 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08558/1.286, allocations: 28.62 MB / 1.467 GB, free: 15.52 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.87, allocations: 9.172 kB / 1.467 GB, free: 15.51 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 20.79922838998027]