Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001779/0.001779, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00206/0.00206, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_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.001975/0.001975, allocations: 62.83 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006233/0.3048, allocations: 4.145 MB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004052/0.3089, allocations: 2.311 MB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.3091, allocations: 27.75 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3104, allocations: 366.3 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009613/0.3113, allocations: 390.1 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.3122, allocations: 317.6 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007787/0.313, allocations: 0.683 MB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.3134, allocations: 225.7 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.3138, allocations: 278.9 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.3142, allocations: 282.8 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.3142, allocations: 31.94 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.3149, allocations: 391.1 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.3151, allocations: 143.5 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.3153, allocations: 191 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009696/0.3162, allocations: 0.7394 MB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3163, allocations: 0 / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3163, allocations: 3.938 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3163, allocations: 8 kB / 1.294 GB, free: 140 kB / 0.9825 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.001203/0.3175, allocations: 0.7266 MB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3175, allocations: 8.031 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.124e-05/0.3175, allocations: 9.188 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/0.3176, allocations: 82.7 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.319, allocations: 184.4 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.3196, allocations: 377.6 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3197, allocations: 29.36 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.186e-05/0.3197, allocations: 32.38 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3207, allocations: 0.7298 MB / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3208, allocations: 7.938 kB / 1.296 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.3208, allocations: 15.98 kB / 1.296 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.259e-05/0.3209, allocations: 55.89 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.3217, allocations: 0.4915 MB / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.325, allocations: 3.214 MB / 1.3 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.3268, allocations: 0.5939 MB / 1.301 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.3271, allocations: 174.5 kB / 1.301 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.3271, allocations: 4 kB / 1.301 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3271, allocations: 38.5 kB / 1.301 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.3271, allocations: 4 kB / 1.301 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002304/0.3294, allocations: 1.061 MB / 1.302 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.3295, allocations: 106.8 kB / 1.302 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.3299, allocations: 401.8 kB / 1.302 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.33, allocations: 33.7 kB / 1.302 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3302, allocations: 288.2 kB / 1.303 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3303, allocations: 126.9 kB / 1.303 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.3305, allocations: 98.3 kB / 1.303 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3306, allocations: 358.7 kB / 1.303 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.3309, allocations: 177.2 kB / 1.303 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.3314, allocations: 380.7 kB / 1.304 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.3322, allocations: 0.5873 MB / 1.304 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3322, allocations: 0 / 1.304 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001132/0.3333, allocations: 0.6756 MB / 1.305 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3333, allocations: 12.03 kB / 1.305 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3333, allocations: 8.094 kB / 1.305 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.3337, allocations: 98.48 kB / 1.305 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.3341, allocations: 111.8 kB / 1.305 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.3378, allocations: 4.033 MB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.3382, allocations: 36.06 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.3382, allocations: 24 kB / 1.309 GB, free: 15.81 MB / 1.014 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.0002726/0.3385, allocations: 198.6 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.3386, allocations: 55.64 kB / 1.31 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.3395, allocations: 0.5188 MB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3396, allocations: 4 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3396, allocations: 4 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3396, allocations: 7.984 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.3414, allocations: 1.205 MB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3414, allocations: 4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3416, allocations: 63.83 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.3419, allocations: 90.8 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3419, allocations: 8 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.3455, allocations: 4.018 MB / 1.315 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3455, allocations: 4.031 kB / 1.315 GB, free: 9.168 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009735/0.3464, allocations: 0.7795 MB / 1.316 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3466, allocations: 79.62 kB / 1.316 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.3467, allocations: 12.25 kB / 1.316 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.347, allocations: 27.91 kB / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.347, allocations: 39.83 kB / 1.316 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3471, allocations: 8 kB / 1.316 GB, free: 8.168 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003387/0.3474, allocations: 287.1 kB / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3474, allocations: 0 / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000675/0.3481, allocations: 120 kB / 1.317 GB, free: 7.77 MB / 1.014 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.001318/0.3494, allocations: 1.327 MB / 1.318 GB, free: 6.375 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.3507, allocations: 0.7782 MB / 1.319 GB, free: 5.559 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3507, allocations: 0 / 1.319 GB, free: 5.559 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007869/0.3515, allocations: 0.5399 MB / 1.319 GB, free: 4.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/0.3524, allocations: 129.2 kB / 1.319 GB, free: 4.859 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/0.3583, allocations: 4.567 MB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3586, allocations: 260.2 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002674/0.3589, allocations: 108.5 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.3591, allocations: 147.4 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.3591, allocations: 3.938 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.4009, allocations: 10.9 MB / 1.335 GB, free: 4.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.54, allocations: 12.27 kB / 1.335 GB, free: 4.828 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.07867234805599]