Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001747/0.001747, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001981/0.001981, allocations: 220.5 kB / 22.25 MB, free: 5.098 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.816 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.113/3.113, allocations: 0.49 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",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.001985/0.001985, allocations: 67.98 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006778/0.3467, allocations: 4.154 MB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.351, allocations: 2.319 MB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.3514, allocations: 23.75 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.3526, allocations: 374.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.3535, allocations: 382.1 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.3543, allocations: 323.2 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/0.3552, allocations: 0.6791 MB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.3556, allocations: 238.3 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.356, allocations: 267 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.3565, allocations: 286.8 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.3565, allocations: 32 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.3572, allocations: 387.1 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3574, allocations: 147.5 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.3576, allocations: 202.9 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.3586, allocations: 0.7316 MB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3586, allocations: 0 / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3586, allocations: 0 / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.3586, allocations: 3.938 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001245/0.3598, allocations: 0.7265 MB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3599, allocations: 16.03 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.968e-05/0.3599, allocations: 78.66 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.3613, allocations: 184.4 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.362, allocations: 373.6 kB / 1.337 GB, free: 5.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.362, allocations: 29.3 kB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.3621, allocations: 36.38 kB / 1.337 GB, free: 5.527 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009961/0.3631, allocations: 0.7261 MB / 1.338 GB, free: 4.691 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3631, allocations: 7.938 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.3631, allocations: 15.98 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/0.3632, allocations: 55.95 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.364, allocations: 0.4914 MB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.3673, allocations: 3.207 MB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.369, allocations: 0.6048 MB / 1.342 GB, free: 144 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.3692, allocations: 162.5 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3693, allocations: 4 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3693, allocations: 42.5 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.3693, allocations: 0 / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002303/0.3716, allocations: 1.061 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.3717, allocations: 106.9 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.3722, allocations: 417.6 kB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3722, allocations: 33.7 kB / 1.344 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3724, allocations: 284.1 kB / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3725, allocations: 126.9 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.3727, allocations: 102.2 kB / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3729, allocations: 354.8 kB / 1.345 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.3732, allocations: 173.2 kB / 1.345 GB, free: 13.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.3736, allocations: 376.2 kB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.3743, allocations: 0.6029 MB / 1.346 GB, free: 12.06 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3743, allocations: 0 / 1.346 GB, free: 12.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001143/0.3755, allocations: 0.6711 MB / 1.347 GB, free: 11.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3755, allocations: 8 kB / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3755, allocations: 4 kB / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.3759, allocations: 99 kB / 1.347 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.3763, allocations: 111.8 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.3799, allocations: 4.027 MB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.3803, allocations: 35.91 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.3803, allocations: 24 kB / 1.351 GB, free: 6.719 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002605/0.3806, allocations: 198.2 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3807, allocations: 55.67 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000924/0.3816, allocations: 0.5188 MB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3816, allocations: 4 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3816, allocations: 4 kB / 1.352 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3816, allocations: 3.984 kB / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.3836, allocations: 1.209 MB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3836, allocations: 8.031 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.3838, allocations: 60 kB / 1.353 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.3841, allocations: 90.44 kB / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.3841, allocations: 8 kB / 1.353 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.3877, allocations: 4.026 MB / 1.357 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3877, allocations: 8.062 kB / 1.357 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3887, allocations: 0.7815 MB / 1.358 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.3889, allocations: 75.67 kB / 1.358 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.389, allocations: 11.94 kB / 1.358 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.3893, allocations: 27.97 kB / 1.358 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.3894, allocations: 35.83 kB / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.3894, allocations: 8 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003308/0.3897, allocations: 283.1 kB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3897, allocations: 0 / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007309/0.3905, allocations: 124 kB / 1.358 GB, free: 14.68 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.001324/0.3918, allocations: 1.331 MB / 1.36 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.3932, allocations: 0.7773 MB / 1.36 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3932, allocations: 0 / 1.36 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/0.3939, allocations: 0.5445 MB / 1.361 GB, free: 11.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.3949, allocations: 134.2 kB / 1.361 GB, free: 11.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.4008, allocations: 4.564 MB / 1.366 GB, free: 6.832 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.4011, allocations: 256.2 kB / 1.366 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003186/0.4014, allocations: 100.5 kB / 1.366 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.4016, allocations: 163.3 kB / 1.366 GB, free: 6.301 MB / 1.061 GB Notification: Performance of SimCode: time 1.042e-06/0.4016, allocations: 0 / 1.366 GB, free: 6.301 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/0.4513, allocations: 11.27 MB / 1.377 GB, free: 11.32 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.95, allocations: 6.125 kB / 1.377 GB, free: 11.32 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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: 18.58953414601274]