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.00129/0.00129, 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.001452/0.001452, allocations: 214.4 kB / 23.04 MB, free: 5.082 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.721/2.721, allocations: 476.7 MB / 0.7715 GB, free: 4.273 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.001961/0.001961, allocations: 65.3 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2915, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006182/0.2977, allocations: 4.441 MB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003887/0.3016, allocations: 2.486 MB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.3018, allocations: 23.75 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.303, allocations: 382.3 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008198/0.3038, allocations: 390.1 kB / 1.292 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.3045, allocations: 330.5 kB / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000769/0.3053, allocations: 0.683 MB / 1.293 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.3057, allocations: 237.6 kB / 1.293 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.306, allocations: 267 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.3064, allocations: 278.9 kB / 1.293 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.3065, allocations: 32 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.3072, allocations: 443 kB / 1.294 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3073, allocations: 147.5 kB / 1.294 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.3076, allocations: 242.7 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008635/0.3084, allocations: 0.7276 MB / 1.295 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3084, allocations: 4 kB / 1.295 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3084, allocations: 0 / 1.295 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.3084, allocations: 0 / 1.295 GB, free: 0.6953 MB / 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.001162/0.3096, allocations: 0.732 MB / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3096, allocations: 12.03 kB / 1.296 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.981e-05/0.3097, allocations: 9.188 kB / 1.296 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.679e-05/0.3097, allocations: 86.69 kB / 1.296 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.3111, allocations: 180.4 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.3117, allocations: 385.5 kB / 1.296 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.3117, allocations: 21.38 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.3118, allocations: 36.36 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.3127, allocations: 0.6507 MB / 1.297 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.3127, allocations: 7.938 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.3127, allocations: 16 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/0.3128, allocations: 51.91 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.3135, allocations: 0.4926 MB / 1.298 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.3171, allocations: 3.752 MB / 1.301 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3188, allocations: 0.597 MB / 1.302 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.319, allocations: 174.4 kB / 1.302 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3191, allocations: 4 kB / 1.302 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.3191, allocations: 38.5 kB / 1.302 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.3191, allocations: 0 / 1.302 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002184/0.3213, allocations: 1.06 MB / 1.303 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.3214, allocations: 114.8 kB / 1.303 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.3219, allocations: 399.5 kB / 1.304 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.3219, allocations: 33.7 kB / 1.304 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.3221, allocations: 292.1 kB / 1.304 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3223, allocations: 119 kB / 1.304 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3224, allocations: 94.3 kB / 1.304 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002596/0.3227, allocations: 362.7 kB / 1.304 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.323, allocations: 177.2 kB / 1.305 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.3234, allocations: 380.6 kB / 1.305 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.3243, allocations: 0.5835 MB / 1.305 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3243, allocations: 4 kB / 1.305 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001215/0.3255, allocations: 0.6793 MB / 1.306 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.3255, allocations: 8 kB / 1.306 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3255, allocations: 7.938 kB / 1.306 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.3259, allocations: 94.5 kB / 1.306 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.3263, allocations: 115.8 kB / 1.306 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.3304, allocations: 4.05 MB / 1.31 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.3308, allocations: 31.97 kB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.3308, allocations: 27.98 kB / 1.31 GB, free: 15.8 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.0003043/0.3311, allocations: 205.4 kB / 1.311 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.3313, allocations: 47.72 kB / 1.311 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009634/0.3322, allocations: 0.5228 MB / 1.311 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3322, allocations: 4 kB / 1.311 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3322, allocations: 3.938 kB / 1.311 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3322, allocations: 0 / 1.311 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.334, allocations: 1.247 MB / 1.312 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3341, allocations: 4 kB / 1.312 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3343, allocations: 63.89 kB / 1.312 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.3346, allocations: 90.78 kB / 1.312 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.3346, allocations: 8 kB / 1.313 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.338, allocations: 4.033 MB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.338, allocations: 4.031 kB / 1.316 GB, free: 9.102 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.3389, allocations: 0.78 MB / 1.317 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.3391, allocations: 83.62 kB / 1.317 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.3392, allocations: 12 kB / 1.317 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.3395, allocations: 19.97 kB / 1.317 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.3396, allocations: 39.83 kB / 1.317 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3396, allocations: 16.28 kB / 1.317 GB, free: 8.098 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003176/0.3399, allocations: 275.1 kB / 1.318 GB, free: 7.828 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3399, allocations: 0 / 1.318 GB, free: 7.828 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000689/0.3406, allocations: 127.9 kB / 1.318 GB, free: 7.703 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.001291/0.3419, allocations: 1.339 MB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.3432, allocations: 0.7665 MB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3432, allocations: 256 / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007522/0.344, allocations: 0.5387 MB / 1.32 GB, free: 4.914 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.3449, allocations: 141.9 kB / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/0.351, allocations: 4.557 MB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.3515, allocations: 0.8625 MB / 1.326 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000301/0.3518, allocations: 100.5 kB / 1.326 GB, free: 14.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.352, allocations: 151.4 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.352, allocations: 0 / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.3933, allocations: 10.51 MB / 1.336 GB, free: 4.469 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.45, allocations: 4.562 kB / 1.336 GB, free: 4.469 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: 18.935686146025546]