Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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.001347/0.001347, allocations: 102.8 kB / 16.45 MB, free: 6.445 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.001597/0.001597, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 443.5 MB / 0.7287 GB, free: 14.45 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 72.08 kB / 1.056 GB, free: 2.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 160.7 MB / 1.213 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006371/0.3123, allocations: 4.344 MB / 1.217 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003808/0.3161, allocations: 2.4 MB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.3163, allocations: 15.88 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3174, allocations: 378.2 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008086/0.3182, allocations: 390.1 kB / 1.22 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.3189, allocations: 319.1 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.3196, allocations: 0.6828 MB / 1.221 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.32, allocations: 218.3 kB / 1.221 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.3203, allocations: 258.9 kB / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.3207, allocations: 282.8 kB / 1.222 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.3207, allocations: 32 kB / 1.222 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.3214, allocations: 447 kB / 1.222 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3215, allocations: 151.5 kB / 1.223 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.3217, allocations: 230.8 kB / 1.223 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.3227, allocations: 0.7354 MB / 1.223 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3227, allocations: 0 / 1.223 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3227, allocations: 0 / 1.223 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3227, allocations: 0 / 1.223 GB, free: 6.508 MB / 0.9669 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.001211/0.3239, allocations: 0.8096 MB / 1.224 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.324, allocations: 8.031 kB / 1.224 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.3241, allocations: 78.7 kB / 1.224 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.3253, allocations: 188.3 kB / 1.225 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.326, allocations: 436.8 kB / 1.225 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3261, allocations: 29.38 kB / 1.225 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.3261, allocations: 36.36 kB / 1.225 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.327, allocations: 0.6554 MB / 1.226 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3271, allocations: 7.891 kB / 1.226 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.3271, allocations: 16 kB / 1.226 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/0.3272, allocations: 55.95 kB / 1.226 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.3279, allocations: 495.3 kB / 1.226 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.3318, allocations: 3.783 MB / 1.23 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.3335, allocations: 0.609 MB / 1.23 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.3338, allocations: 166.4 kB / 1.231 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3339, allocations: 4 kB / 1.231 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3339, allocations: 42.55 kB / 1.231 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.335e-06/0.3339, allocations: 0 / 1.231 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002422/0.3363, allocations: 1.29 MB / 1.232 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.3364, allocations: 106.8 kB / 1.232 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.3369, allocations: 401.8 kB / 1.232 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3369, allocations: 29.7 kB / 1.232 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.3372, allocations: 288.1 kB / 1.233 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3373, allocations: 127 kB / 1.233 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.3375, allocations: 102.2 kB / 1.233 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.3377, allocations: 354.8 kB / 1.233 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.3379, allocations: 173 kB / 1.233 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.3384, allocations: 383.2 kB / 1.234 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/0.3392, allocations: 0.599 MB / 1.234 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3392, allocations: 0 / 1.234 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001185/0.3404, allocations: 0.6678 MB / 1.235 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.3404, allocations: 16.09 kB / 1.235 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.3404, allocations: 8 kB / 1.235 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.3408, allocations: 94.44 kB / 1.235 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.3412, allocations: 111.8 kB / 1.235 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.3452, allocations: 4.352 MB / 1.24 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.3456, allocations: 27.98 kB / 1.24 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.3457, allocations: 27.98 kB / 1.24 GB, free: 4.754 MB / 0.9825 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.0002799/0.346, allocations: 198.7 kB / 1.24 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3461, allocations: 51.67 kB / 1.24 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009399/0.347, allocations: 0.5187 MB / 1.24 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.347, allocations: 8 kB / 1.24 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.347, allocations: 0 / 1.24 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.347, allocations: 0 / 1.24 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.349, allocations: 1.299 MB / 1.242 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.349, allocations: 4 kB / 1.242 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.3492, allocations: 59.91 kB / 1.242 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.3495, allocations: 94.72 kB / 1.242 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3495, allocations: 8 kB / 1.242 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.3533, allocations: 4.337 MB / 1.246 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3533, allocations: 3.938 kB / 1.246 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3543, allocations: 0.7817 MB / 1.247 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.3545, allocations: 152.8 kB / 1.247 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.3546, allocations: 15.95 kB / 1.247 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.3549, allocations: 19.97 kB / 1.247 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.3549, allocations: 43.84 kB / 1.247 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.355, allocations: 8 kB / 1.247 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003236/0.3553, allocations: 283.1 kB / 1.247 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3553, allocations: 0 / 1.247 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000672/0.356, allocations: 120 kB / 1.247 GB, free: 12.15 MB / 0.9981 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.001289/0.3572, allocations: 1.323 MB / 1.249 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.3585, allocations: 0.7854 MB / 1.249 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3585, allocations: 5.125 kB / 1.249 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/0.3593, allocations: 0.5313 MB / 1.25 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008644/0.3602, allocations: 131.5 kB / 1.25 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005998/0.3662, allocations: 4.563 MB / 1.255 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.3667, allocations: 0.8702 MB / 1.255 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.367, allocations: 100.5 kB / 1.255 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.3672, allocations: 159.4 kB / 1.256 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.3672, allocations: 0 / 1.256 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5808/0.9481, allocations: 10.08 MB / 1.265 GB, free: 48.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.1, allocations: 7.766 kB / 1.265 GB, free: 48.19 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 17.9823474814184]