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.001736/0.001736, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002577/0.002577, allocations: 216.6 kB / 23.03 MB, free: 4.922 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.103/3.103, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_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.001955/0.001955, allocations: 63.72 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3485, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006582/0.3551, allocations: 4.15 MB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00438/0.3595, allocations: 2.319 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.3599, allocations: 23.75 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.3612, allocations: 370.2 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3623, allocations: 386.2 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.3631, allocations: 318.7 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009713/0.3641, allocations: 0.683 MB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.3646, allocations: 234.3 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.3651, allocations: 267 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.3656, allocations: 286.8 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.3656, allocations: 28 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.3664, allocations: 391.1 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.3666, allocations: 143.5 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.3669, allocations: 202.9 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3681, allocations: 0.7354 MB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3681, allocations: 4 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3681, allocations: 0 / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.417e-05/0.3681, allocations: 0 / 1.337 GB, free: 6.984 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.001424/0.3695, allocations: 0.7188 MB / 1.338 GB, free: 6.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3696, allocations: 12.03 kB / 1.338 GB, free: 6.219 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.606e-05/0.3696, allocations: 13.12 kB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.3697, allocations: 82.69 kB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.3712, allocations: 188.4 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.3719, allocations: 377.6 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.372, allocations: 29.36 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.372, allocations: 36.31 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.3731, allocations: 0.7259 MB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.3731, allocations: 3.938 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.3732, allocations: 24 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.77e-05/0.3733, allocations: 47.97 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.3741, allocations: 0.4915 MB / 1.34 GB, free: 4.074 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.3775, allocations: 3.215 MB / 1.343 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.3793, allocations: 0.5931 MB / 1.343 GB, free: 100 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.3796, allocations: 166.5 kB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3796, allocations: 8 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3796, allocations: 34.56 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.3796, allocations: 0 / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002348/0.382, allocations: 1.064 MB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.382, allocations: 106.8 kB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.3825, allocations: 409.8 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.3826, allocations: 29.7 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3828, allocations: 288.2 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3829, allocations: 123 kB / 1.345 GB, free: 13.81 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.383, allocations: 95.98 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3832, allocations: 362.7 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.3835, allocations: 173.2 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.384, allocations: 376.2 kB / 1.346 GB, free: 12.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009216/0.3849, allocations: 0.5949 MB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.3849, allocations: 4 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001376/0.3863, allocations: 0.6714 MB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.3863, allocations: 8 kB / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.3863, allocations: 11.94 kB / 1.348 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.3868, allocations: 106.4 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.3872, allocations: 111.8 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.3911, allocations: 4.027 MB / 1.352 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.3915, allocations: 27.98 kB / 1.352 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.3915, allocations: 27.98 kB / 1.352 GB, free: 6.672 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.0002883/0.3918, allocations: 199 kB / 1.352 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.392, allocations: 51.7 kB / 1.352 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000942/0.3929, allocations: 0.5224 MB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3929, allocations: 8.094 kB / 1.353 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3929, allocations: 3.938 kB / 1.353 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/0.3929, allocations: 4 kB / 1.353 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.3949, allocations: 1.205 MB / 1.354 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3949, allocations: 0 / 1.354 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.3952, allocations: 63.89 kB / 1.354 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.3955, allocations: 94.73 kB / 1.354 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3955, allocations: 15.92 kB / 1.354 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/0.3991, allocations: 4.015 MB / 1.358 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.3991, allocations: 7.938 kB / 1.358 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.4002, allocations: 0.7896 MB / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.4004, allocations: 75.64 kB / 1.359 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.4005, allocations: 15.98 kB / 1.359 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.4009, allocations: 19.98 kB / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.4009, allocations: 35.88 kB / 1.359 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.401, allocations: 12 kB / 1.359 GB, free: 15.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003481/0.4013, allocations: 279.1 kB / 1.359 GB, free: 14.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4013, allocations: 0 / 1.359 GB, free: 14.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007676/0.4021, allocations: 127.9 kB / 1.359 GB, free: 14.63 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.4034, allocations: 1.327 MB / 1.36 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.4048, allocations: 0.7867 MB / 1.361 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4048, allocations: 0 / 1.361 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007767/0.4056, allocations: 0.5358 MB / 1.362 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.4065, allocations: 131.7 kB / 1.362 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.4129, allocations: 4.57 MB / 1.366 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4132, allocations: 264.2 kB / 1.367 GB, free: 6.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003185/0.4136, allocations: 96.48 kB / 1.367 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.4138, allocations: 155.4 kB / 1.367 GB, free: 6.273 MB / 1.061 GB Notification: Performance of SimCode: time 1.282e-06/0.4138, allocations: 0 / 1.367 GB, free: 6.273 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.4583, allocations: 10.91 MB / 1.377 GB, free: 11.67 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.63, allocations: 11.92 kB / 1.377 GB, free: 11.66 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.481632860028185]