Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003116/0.003116, allocations: 67.89 kB / 1.104 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8291, allocations: 168.7 MB / 1.269 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01531/0.8444, allocations: 11.27 MB / 1.28 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.8552, allocations: 5.851 MB / 1.285 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.8565, allocations: 59.56 kB / 1.286 GB, free: 4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.8616, allocations: 1.753 MB / 1.287 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.8654, allocations: 1.182 MB / 1.288 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.8681, allocations: 0.7997 MB / 1.289 GB, free: 264 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003553/0.8716, allocations: 2.127 MB / 1.291 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.8736, allocations: 1.043 MB / 1.292 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.8752, allocations: 0.8562 MB / 1.293 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.8769, allocations: 0.9532 MB / 1.294 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.8772, allocations: 116 kB / 1.294 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.8797, allocations: 1.212 MB / 1.295 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007254/0.8804, allocations: 0.5412 MB / 1.296 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.8817, allocations: 0.7888 MB / 1.297 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.8855, allocations: 2.44 MB / 1.299 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8855, allocations: 0 / 1.299 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8855, allocations: 0 / 1.299 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.654e-05/0.8856, allocations: 0 / 1.299 GB, free: 6.125 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003394/0.889, allocations: 1.914 MB / 1.301 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.889, allocations: 16.02 kB / 1.301 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002538/0.8893, allocations: 207.4 kB / 1.301 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/0.8937, allocations: 0.6902 MB / 1.302 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.8958, allocations: 1.005 MB / 1.303 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.8959, allocations: 98.89 kB / 1.303 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.8961, allocations: 132.3 kB / 1.303 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.8994, allocations: 2.202 MB / 1.305 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.348e-05/0.8994, allocations: 23.86 kB / 1.305 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.8995, allocations: 59.97 kB / 1.305 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/0.8998, allocations: 162.3 kB / 1.305 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.9028, allocations: 1.867 MB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.9164, allocations: 12.45 MB / 1.319 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/0.9207, allocations: 1.878 MB / 1.321 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008691/0.9216, allocations: 0.5503 MB / 1.322 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.9218, allocations: 102.1 kB / 1.322 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.9218, allocations: 47.5 kB / 1.322 GB, free: 13.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 3.297e-06/0.9218, allocations: 0 / 1.322 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.006561/0.9284, allocations: 3.724 MB / 1.325 GB, free: 9.512 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.9284, allocations: 68.41 kB / 1.326 GB, free: 9.434 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.9297, allocations: 0.9205 MB / 1.326 GB, free: 8.496 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.9298, allocations: 41.7 kB / 1.326 GB, free: 8.449 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/0.9304, allocations: 0.7533 MB / 1.327 GB, free: 7.688 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.9307, allocations: 408.5 kB / 1.328 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.9312, allocations: 287.4 kB / 1.328 GB, free: 7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9313, allocations: 301.1 kB / 1.328 GB, free: 6.703 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000947/0.9322, allocations: 0.609 MB / 1.329 GB, free: 6.094 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.9336, allocations: 1.113 MB / 1.33 GB, free: 4.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.9361, allocations: 1.828 MB / 1.332 GB, free: 2.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.9361, allocations: 4 kB / 1.332 GB, free: 2.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003703/0.9399, allocations: 2.104 MB / 1.334 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.9399, allocations: 12 kB / 1.334 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.9399, allocations: 16 kB / 1.334 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/0.9407, allocations: 259.5 kB / 1.334 GB, free: 280 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.942, allocations: 371.3 kB / 1.334 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009868/0.9519, allocations: 11.59 MB / 1.346 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.9532, allocations: 131.8 kB / 1.346 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.9533, allocations: 67.98 kB / 1.346 GB, free: 2.996 MB / 1.045 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.0006927/0.954, allocations: 408.4 kB / 1.346 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.9542, allocations: 135.2 kB / 1.346 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.9572, allocations: 1.681 MB / 1.348 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.9572, allocations: 12 kB / 1.348 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.9572, allocations: 4 kB / 1.348 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.9572, allocations: 3.984 kB / 1.348 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/0.9628, allocations: 3.292 MB / 1.351 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.9628, allocations: 4 kB / 1.351 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/0.9637, allocations: 231.6 kB / 1.351 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007192/0.9644, allocations: 239 kB / 1.352 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.9644, allocations: 31.92 kB / 1.352 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009755/0.9742, allocations: 11.56 MB / 1.363 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.9742, allocations: 11.94 kB / 1.363 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.9772, allocations: 1.8 MB / 1.365 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007817/0.978, allocations: 316.1 kB / 1.365 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.9781, allocations: 24 kB / 1.365 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/0.9788, allocations: 91.88 kB / 1.365 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.979, allocations: 100.7 kB / 1.365 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.9791, allocations: 35.94 kB / 1.365 GB, free: 13.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008346/0.9799, allocations: 0.6255 MB / 1.366 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9799, allocations: 0 / 1.366 GB, free: 12.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001387/0.9813, allocations: 395.9 kB / 1.366 GB, free: 12.57 MB / 1.076 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.003206/0.9845, allocations: 2.391 MB / 1.369 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003942/0.9884, allocations: 2.399 MB / 1.371 GB, free: 7.559 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.9884, allocations: 0 / 1.371 GB, free: 7.559 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.9907, allocations: 1.594 MB / 1.373 GB, free: 5.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.9925, allocations: 357 kB / 1.373 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.009, allocations: 11.51 MB / 1.384 GB, free: 9.262 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.011, allocations: 1.331 MB / 1.385 GB, free: 7.895 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001025/1.012, allocations: 359.3 kB / 1.386 GB, free: 7.539 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007118/1.012, allocations: 0.5344 MB / 1.386 GB, free: 7.004 MB / 1.092 GB Notification: Performance of SimCode: time 1.333e-06/1.012, allocations: 3.938 kB / 1.386 GB, free: 7 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08735/1.1, allocations: 28.57 MB / 1.414 GB, free: 10.82 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.34, allocations: 6.969 kB / 1.414 GB, free: 10.82 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.478804944083095]