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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005522/0.005522, allocations: 100.6 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 202.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.621/2.621, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 60.12 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005958/0.2893, allocations: 4.292 MB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.293, allocations: 2.369 MB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.2933, allocations: 15.88 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.2944, allocations: 374.2 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008066/0.2952, allocations: 370.2 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.2959, allocations: 323.2 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007377/0.2967, allocations: 0.675 MB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.2971, allocations: 266 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.2974, allocations: 263 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.2978, allocations: 266.9 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.2978, allocations: 28 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006441/0.2985, allocations: 438.9 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2986, allocations: 139.6 kB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.2989, allocations: 246.6 kB / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.2997, allocations: 0.7276 MB / 1.231 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2997, allocations: 4 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2997, allocations: 0 / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2998, allocations: 0 / 1.231 GB, free: 3.516 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.001078/0.3008, allocations: 0.8057 MB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.3009, allocations: 8.031 kB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.092e-05/0.301, allocations: 82.69 kB / 1.232 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.3022, allocations: 184.4 kB / 1.232 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.3028, allocations: 440.8 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3029, allocations: 29.38 kB / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.3029, allocations: 32.36 kB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.3038, allocations: 0.6554 MB / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3039, allocations: 3.938 kB / 1.233 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.3039, allocations: 20 kB / 1.233 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/0.304, allocations: 55.89 kB / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.3047, allocations: 499.3 kB / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.3082, allocations: 3.787 MB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.3099, allocations: 0.6368 MB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.3102, allocations: 174.5 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3102, allocations: 8 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3103, allocations: 38.5 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.424e-06/0.3103, allocations: 0 / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002259/0.3125, allocations: 1.29 MB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.3126, allocations: 106.8 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.313, allocations: 405.8 kB / 1.24 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3131, allocations: 33.7 kB / 1.24 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.3133, allocations: 284.2 kB / 1.24 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3134, allocations: 130.9 kB / 1.24 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.3135, allocations: 98.16 kB / 1.24 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3137, allocations: 358.8 kB / 1.241 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.314, allocations: 173 kB / 1.241 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.3144, allocations: 375.7 kB / 1.241 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.3151, allocations: 0.5951 MB / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3151, allocations: 0 / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001077/0.3162, allocations: 0.6754 MB / 1.242 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3162, allocations: 8 kB / 1.242 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3163, allocations: 8 kB / 1.242 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.3166, allocations: 102.4 kB / 1.242 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.317, allocations: 112.1 kB / 1.242 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/0.3205, allocations: 4.348 MB / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.3208, allocations: 31.97 kB / 1.247 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.3209, allocations: 24 kB / 1.247 GB, free: 1.723 MB / 0.9981 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.0002258/0.3211, allocations: 193.7 kB / 1.247 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3212, allocations: 55.77 kB / 1.247 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008824/0.3221, allocations: 0.5147 MB / 1.248 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.3221, allocations: 5.125 kB / 1.248 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3221, allocations: 4 kB / 1.248 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3221, allocations: 0 / 1.248 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4956/0.8177, allocations: 1.281 MB / 1.249 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8178, allocations: 3.25 kB / 1.249 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.818, allocations: 66.39 kB / 1.249 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.8183, allocations: 91.75 kB / 1.249 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.8183, allocations: 9.859 kB / 1.249 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.8206, allocations: 4.334 MB / 1.253 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.8206, allocations: 11.78 kB / 1.253 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.8214, allocations: 0.78 MB / 1.254 GB, free: 24.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.8216, allocations: 157 kB / 1.254 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.8217, allocations: 10.41 kB / 1.254 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.8219, allocations: 21.25 kB / 1.254 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.822, allocations: 39.47 kB / 1.254 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.8221, allocations: 13.91 kB / 1.254 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002747/0.8223, allocations: 277.6 kB / 1.254 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8223, allocations: 0 / 1.254 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006174/0.823, allocations: 123.6 kB / 1.255 GB, free: 24.18 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.0008881/0.8239, allocations: 1.338 MB / 1.256 GB, free: 23.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.8249, allocations: 0.805 MB / 1.257 GB, free: 22.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.8249, allocations: 3.531 kB / 1.257 GB, free: 22.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.8255, allocations: 0.5471 MB / 1.257 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008296/0.8263, allocations: 138.3 kB / 1.257 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.8303, allocations: 4.579 MB / 1.262 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.8305, allocations: 0.8531 MB / 1.263 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.8308, allocations: 103.5 kB / 1.263 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.8309, allocations: 154.8 kB / 1.263 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.8309, allocations: 0 / 1.263 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.209/2.04, allocations: 10.02 MB / 1.273 GB, free: 18.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/16.21, allocations: 9.453 kB / 1.273 GB, free: 18.62 MB / 0.9981 GB (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 --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) 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) Reference file matches