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.001345/0.001345, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001709/0.001709, allocations: 216.8 kB / 22.25 MB, free: 4.852 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.805 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.233/3.233, allocations: 0.4892 GB / 0.7944 GB, free: 35.7 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.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.002058/0.002058, allocations: 70.64 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007204/0.3674, allocations: 4.146 MB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.3721, allocations: 2.319 MB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.3725, allocations: 27.75 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3739, allocations: 366.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.3751, allocations: 382.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009271/0.3761, allocations: 327 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009177/0.377, allocations: 0.6791 MB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.3774, allocations: 230.3 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.3779, allocations: 270.9 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.3783, allocations: 270.8 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.983e-05/0.3783, allocations: 28 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.3791, allocations: 383.1 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3793, allocations: 155.5 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3795, allocations: 202.9 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009245/0.3804, allocations: 0.7277 MB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3804, allocations: 3.938 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3804, allocations: 0 / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.3804, allocations: 0 / 1.335 GB, free: 7.875 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.001269/0.3817, allocations: 0.7382 MB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3817, allocations: 12.03 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.796e-05/0.3818, allocations: 70.72 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.3832, allocations: 180.4 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.3839, allocations: 373.6 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.384, allocations: 29.36 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/0.384, allocations: 28.38 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3851, allocations: 0.7417 MB / 1.337 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3851, allocations: 3.938 kB / 1.337 GB, free: 5.535 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.3851, allocations: 23.92 kB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-05/0.3852, allocations: 55.95 kB / 1.337 GB, free: 5.457 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.386, allocations: 495.3 kB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.3894, allocations: 3.211 MB / 1.341 GB, free: 1.621 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3912, allocations: 0.6054 MB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.3914, allocations: 162.5 kB / 1.342 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.3915, allocations: 4 kB / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3915, allocations: 38.56 kB / 1.342 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.3915, allocations: 3.938 kB / 1.342 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002359/0.3939, allocations: 1.064 MB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3939, allocations: 106.8 kB / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.3944, allocations: 417.7 kB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3945, allocations: 29.7 kB / 1.343 GB, free: 15.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.3947, allocations: 288.1 kB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3948, allocations: 123 kB / 1.344 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.3949, allocations: 102.2 kB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3951, allocations: 350.8 kB / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.3954, allocations: 177.2 kB / 1.344 GB, free: 14.06 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.3958, allocations: 376.2 kB / 1.345 GB, free: 13.6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/0.3966, allocations: 0.6029 MB / 1.345 GB, free: 12.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3966, allocations: 4 kB / 1.345 GB, free: 12.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001112/0.3977, allocations: 0.6673 MB / 1.346 GB, free: 12.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3977, allocations: 8 kB / 1.346 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3977, allocations: 8 kB / 1.346 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.3981, allocations: 98.97 kB / 1.346 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.3985, allocations: 107.8 kB / 1.346 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.4022, allocations: 4.023 MB / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.4026, allocations: 35.91 kB / 1.35 GB, free: 7.594 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.4027, allocations: 24 kB / 1.35 GB, free: 7.57 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.0002966/0.403, allocations: 198 kB / 1.35 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.4031, allocations: 59.81 kB / 1.35 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009675/0.4041, allocations: 0.5149 MB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.4041, allocations: 4 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4041, allocations: 7.984 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4041, allocations: 3.984 kB / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.4061, allocations: 1.209 MB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4061, allocations: 8.281 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4063, allocations: 63.89 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002739/0.4066, allocations: 86.45 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.4067, allocations: 12 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.4102, allocations: 4.022 MB / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4102, allocations: 8 kB / 1.356 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4112, allocations: 0.7854 MB / 1.357 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.4115, allocations: 75.67 kB / 1.357 GB, free: 0 / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.4115, allocations: 8.078 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.4118, allocations: 27.97 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.4119, allocations: 31.89 kB / 1.357 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4119, allocations: 12 kB / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003307/0.4123, allocations: 287.1 kB / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4123, allocations: 0 / 1.357 GB, free: 15.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006921/0.4129, allocations: 120 kB / 1.358 GB, free: 15.52 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.001326/0.4143, allocations: 1.323 MB / 1.359 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.4156, allocations: 0.7854 MB / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4156, allocations: 0 / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007494/0.4164, allocations: 0.5401 MB / 1.36 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.4173, allocations: 133.8 kB / 1.36 GB, free: 12.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/0.4233, allocations: 4.563 MB / 1.365 GB, free: 7.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4237, allocations: 264.2 kB / 1.365 GB, free: 7.406 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.424, allocations: 108.5 kB / 1.365 GB, free: 7.301 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.4242, allocations: 147.4 kB / 1.365 GB, free: 7.156 MB / 1.061 GB Notification: Performance of SimCode: time 9.72e-07/0.4242, allocations: 4 kB / 1.365 GB, free: 7.152 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04845/0.4726, allocations: 11.1 MB / 1.376 GB, free: 12.34 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.26, allocations: 4.5 kB / 1.376 GB, free: 12.34 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.97304930910468]