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.001767/0.001767, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002229/0.002229, allocations: 218.5 kB / 23.04 MB, free: 5.074 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.058/3.058, allocations: 0.49 GB / 0.7959 GB, free: 33.25 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.002/0.002, allocations: 61.22 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 176.1 MB / 1.327 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006175/0.3077, allocations: 4.43 MB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003808/0.3115, allocations: 2.505 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.3117, allocations: 27.75 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.3128, allocations: 386.2 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007841/0.3136, allocations: 382.2 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.3143, allocations: 330.2 kB / 1.335 GB, free: 9.965 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007695/0.3151, allocations: 0.683 MB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.3155, allocations: 238.3 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.3159, allocations: 263 kB / 1.336 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.3163, allocations: 282.8 kB / 1.336 GB, free: 8.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.3164, allocations: 28 kB / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.3171, allocations: 443 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3173, allocations: 147.5 kB / 1.337 GB, free: 7.898 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.3175, allocations: 242.7 kB / 1.337 GB, free: 7.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.3185, allocations: 0.7315 MB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3185, allocations: 3.984 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3185, allocations: 0 / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3185, allocations: 4 kB / 1.337 GB, free: 6.918 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.001204/0.3197, allocations: 0.7227 MB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3197, allocations: 8.031 kB / 1.338 GB, free: 6.152 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.026e-05/0.3197, allocations: 13.19 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.726e-05/0.3198, allocations: 86.62 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.3212, allocations: 188.4 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.3218, allocations: 373.5 kB / 1.339 GB, free: 5.473 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.3218, allocations: 25.38 kB / 1.339 GB, free: 5.449 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.3219, allocations: 40.34 kB / 1.339 GB, free: 5.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.3228, allocations: 0.6545 MB / 1.34 GB, free: 4.664 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3228, allocations: 0 / 1.34 GB, free: 4.664 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.3229, allocations: 16 kB / 1.34 GB, free: 4.648 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/0.3229, allocations: 55.91 kB / 1.34 GB, free: 4.594 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.3237, allocations: 499.3 kB / 1.34 GB, free: 4.105 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.3272, allocations: 3.752 MB / 1.344 GB, free: 104 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.329, allocations: 0.5971 MB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.3293, allocations: 166.4 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3293, allocations: 11.94 kB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3293, allocations: 38.56 kB / 1.345 GB, free: 15.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.3293, allocations: 0 / 1.345 GB, free: 15.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002203/0.3315, allocations: 1.069 MB / 1.346 GB, free: 14.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.3316, allocations: 106.8 kB / 1.346 GB, free: 14.03 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.332, allocations: 405.8 kB / 1.346 GB, free: 13.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3321, allocations: 33.7 kB / 1.346 GB, free: 13.58 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3323, allocations: 280.2 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3324, allocations: 127 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3325, allocations: 98.3 kB / 1.347 GB, free: 13.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3327, allocations: 358.7 kB / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.3329, allocations: 173.2 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.3334, allocations: 376.2 kB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.3341, allocations: 0.5948 MB / 1.348 GB, free: 11.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3341, allocations: 0 / 1.348 GB, free: 11.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001116/0.3352, allocations: 0.6717 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3353, allocations: 14 kB / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3353, allocations: 11.94 kB / 1.349 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003496/0.3356, allocations: 102.4 kB / 1.349 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.336, allocations: 103.8 kB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.3395, allocations: 4.046 MB / 1.353 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.3399, allocations: 36.08 kB / 1.353 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.3399, allocations: 27.98 kB / 1.353 GB, free: 6.027 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.0002502/0.3402, allocations: 194.1 kB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3403, allocations: 47.72 kB / 1.353 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/0.3413, allocations: 0.5224 MB / 1.354 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.3413, allocations: 7.984 kB / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3413, allocations: 0 / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3413, allocations: 0 / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.3431, allocations: 1.255 MB / 1.355 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3432, allocations: 7.984 kB / 1.355 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.3434, allocations: 55.91 kB / 1.355 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.3437, allocations: 94.78 kB / 1.355 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.3437, allocations: 8 kB / 1.355 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.3471, allocations: 4.037 MB / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/0.3471, allocations: 4.031 kB / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009522/0.3481, allocations: 0.7817 MB / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.3483, allocations: 79.62 kB / 1.36 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.3483, allocations: 12 kB / 1.36 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.3486, allocations: 20.25 kB / 1.36 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.3487, allocations: 43.83 kB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3487, allocations: 12 kB / 1.36 GB, free: 14.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000324/0.349, allocations: 283.1 kB / 1.36 GB, free: 14.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 1.36 GB, free: 14.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006613/0.3497, allocations: 120 kB / 1.36 GB, free: 13.95 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.00123/0.3509, allocations: 1.334 MB / 1.362 GB, free: 12.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.3522, allocations: 0.7742 MB / 1.362 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3522, allocations: 5 kB / 1.362 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007616/0.3529, allocations: 0.5431 MB / 1.363 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.3538, allocations: 133.4 kB / 1.363 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.3595, allocations: 4.557 MB / 1.367 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.36, allocations: 0.8663 MB / 1.368 GB, free: 5.219 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.3602, allocations: 108.5 kB / 1.368 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3604, allocations: 151.4 kB / 1.369 GB, free: 4.965 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3604, allocations: 0 / 1.369 GB, free: 4.965 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/0.4062, allocations: 10.5 MB / 1.379 GB, free: 10.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 15.55 kB / 1.379 GB, free: 10.69 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.74022767599672]