Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001741/0.001741, allocations: 114.8 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.002165/0.002165, allocations: 210.2 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.173/3.173, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.00211/0.00211, allocations: 63.89 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9707/0.9728, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01275/0.9856, allocations: 11.29 MB / 1.351 GB, free: 8.645 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009472/0.995, allocations: 5.884 MB / 1.357 GB, free: 4.641 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.9969, allocations: 73.25 kB / 1.357 GB, free: 4.598 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004687/1.002, allocations: 1.751 MB / 1.359 GB, free: 3.547 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004378/1.006, allocations: 1.181 MB / 1.36 GB, free: 2.875 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/1.009, allocations: 0.814 MB / 1.361 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004242/1.013, allocations: 2.12 MB / 1.363 GB, free: 1.512 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/1.015, allocations: 1.04 MB / 1.364 GB, free: 1.055 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/1.017, allocations: 0.8703 MB / 1.365 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/1.019, allocations: 0.9673 MB / 1.366 GB, free: 276 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005234/1.02, allocations: 114 kB / 1.366 GB, free: 276 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/1.023, allocations: 1.21 MB / 1.367 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/1.024, allocations: 0.5355 MB / 1.367 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/1.026, allocations: 0.7812 MB / 1.368 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005306/1.032, allocations: 2.438 MB / 1.37 GB, free: 14.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/1.032, allocations: 0 / 1.37 GB, free: 14.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.764e-06/1.032, allocations: 0 / 1.37 GB, free: 14.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.747e-05/1.032, allocations: 3.938 kB / 1.37 GB, free: 14.29 MB / 1.076 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.00462/1.036, allocations: 1.926 MB / 1.372 GB, free: 13.01 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.036, allocations: 9.344 kB / 1.372 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.248e-05/1.036, allocations: 35.05 kB / 1.372 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003558/1.037, allocations: 211.9 kB / 1.373 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/1.042, allocations: 0.6757 MB / 1.373 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/1.044, allocations: 1.011 MB / 1.374 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.045, allocations: 97.17 kB / 1.374 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/1.045, allocations: 122.8 kB / 1.374 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004575/1.05, allocations: 2.213 MB / 1.377 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.247e-05/1.05, allocations: 17.28 kB / 1.377 GB, free: 10.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/1.05, allocations: 60.97 kB / 1.377 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002745/1.05, allocations: 166.4 kB / 1.377 GB, free: 10.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/1.054, allocations: 1.873 MB / 1.379 GB, free: 10.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/1.071, allocations: 12.45 MB / 1.391 GB, free: 15.61 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/1.076, allocations: 1.88 MB / 1.393 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.077, allocations: 0.5576 MB / 1.393 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/1.078, allocations: 101.7 kB / 1.393 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/1.078, allocations: 52.67 kB / 1.393 GB, free: 14.74 MB / 1.092 GB Notification: Performance of pre-optimization done (n=103): time 2.825e-06/1.078, allocations: 3.938 kB / 1.393 GB, free: 14.74 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.00815/1.086, allocations: 3.728 MB / 1.397 GB, free: 12.77 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/1.086, allocations: 62.12 kB / 1.397 GB, free: 12.71 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/1.088, allocations: 0.9238 MB / 1.398 GB, free: 12.32 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1.088, allocations: 42.05 kB / 1.398 GB, free: 12.28 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/1.089, allocations: 0.7525 MB / 1.399 GB, free: 11.68 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/1.089, allocations: 405.1 kB / 1.399 GB, free: 11.36 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000678/1.09, allocations: 290.8 kB / 1.399 GB, free: 11.22 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.09, allocations: 301.6 kB / 1.4 GB, free: 10.92 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/1.091, allocations: 0.6164 MB / 1.4 GB, free: 10.71 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.093, allocations: 1.104 MB / 1.401 GB, free: 9.879 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/1.096, allocations: 1.829 MB / 1.403 GB, free: 8.684 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/1.096, allocations: 5.031 kB / 1.403 GB, free: 8.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004449/1.1, allocations: 2.102 MB / 1.405 GB, free: 7.824 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/1.1, allocations: 11.38 kB / 1.405 GB, free: 7.824 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.1, allocations: 16.34 kB / 1.405 GB, free: 7.824 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/1.101, allocations: 267 kB / 1.406 GB, free: 7.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.103, allocations: 367 kB / 1.406 GB, free: 7.586 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.113, allocations: 11.6 MB / 1.417 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.115, allocations: 129.3 kB / 1.417 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/1.115, allocations: 71.48 kB / 1.417 GB, free: 11.71 MB / 1.107 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.0009225/1.116, allocations: 400 kB / 1.418 GB, free: 11.42 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/1.116, allocations: 135.2 kB / 1.418 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/1.12, allocations: 1.68 MB / 1.42 GB, free: 10.38 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.12, allocations: 11.34 kB / 1.42 GB, free: 10.38 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.12, allocations: 2.219 kB / 1.42 GB, free: 10.38 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.12, allocations: 5.109 kB / 1.42 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006392/1.126, allocations: 3.288 MB / 1.423 GB, free: 8.285 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.126, allocations: 10.25 kB / 1.423 GB, free: 8.281 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009073/1.127, allocations: 217.6 kB / 1.423 GB, free: 8.223 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007985/1.128, allocations: 251.5 kB / 1.423 GB, free: 8.059 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.77e-05/1.128, allocations: 27.45 kB / 1.423 GB, free: 8.043 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/1.138, allocations: 11.57 MB / 1.435 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.138, allocations: 5.094 kB / 1.435 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/1.141, allocations: 1.806 MB / 1.436 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/1.142, allocations: 312.7 kB / 1.437 GB, free: 10.87 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/1.143, allocations: 27.8 kB / 1.437 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/1.144, allocations: 89.97 kB / 1.437 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/1.144, allocations: 101.1 kB / 1.437 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/1.144, allocations: 34.72 kB / 1.437 GB, free: 10.74 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009957/1.145, allocations: 0.6198 MB / 1.437 GB, free: 10.38 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.145, allocations: 5.312 kB / 1.437 GB, free: 10.38 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00191/1.147, allocations: 396.4 kB / 1.438 GB, free: 10.33 MB / 1.123 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.003466/1.15, allocations: 2.391 MB / 1.44 GB, free: 8.621 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003898/1.154, allocations: 2.408 MB / 1.443 GB, free: 6.996 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.154, allocations: 0 / 1.443 GB, free: 6.996 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/1.157, allocations: 1.582 MB / 1.444 GB, free: 5.754 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.159, allocations: 357.7 kB / 1.444 GB, free: 5.562 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/1.18, allocations: 11.53 MB / 1.456 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/1.181, allocations: 1.327 MB / 1.457 GB, free: 11.34 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00121/1.183, allocations: 359.3 kB / 1.457 GB, free: 10.99 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/1.184, allocations: 0.5383 MB / 1.458 GB, free: 10.45 MB / 1.139 GB Notification: Performance of SimCode: time 8.62e-07/1.184, allocations: 0 / 1.458 GB, free: 10.45 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.29, allocations: 28.63 MB / 1.486 GB, free: 14.25 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.94, allocations: 10.5 kB / 1.486 GB, free: 14.24 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.17130206199363]