Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_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.009455/0.009455, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001929/0.001929, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2666, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01234/0.279, allocations: 11.09 MB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008936/0.2879, allocations: 5.797 MB / 1.183 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.2894, allocations: 59.62 kB / 1.183 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.2939, allocations: 1.727 MB / 1.184 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.2982, allocations: 1.186 MB / 1.186 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.3005, allocations: 0.8136 MB / 1.186 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003036/0.3036, allocations: 2.127 MB / 1.188 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.3052, allocations: 1.321 MB / 1.19 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.3065, allocations: 0.8523 MB / 1.191 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.3079, allocations: 0.9104 MB / 1.191 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.3082, allocations: 116 kB / 1.192 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.3104, allocations: 1.177 MB / 1.193 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000584/0.311, allocations: 0.5259 MB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009374/0.3119, allocations: 0.7887 MB / 1.194 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.3149, allocations: 2.423 MB / 1.196 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3149, allocations: 4 kB / 1.196 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3149, allocations: 0 / 1.196 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.187e-05/0.315, allocations: 0 / 1.196 GB, free: 8.289 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003004/0.318, allocations: 1.871 MB / 1.198 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.318, allocations: 8.031 kB / 1.198 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.3183, allocations: 215.4 kB / 1.198 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.3226, allocations: 0.666 MB / 1.199 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.3243, allocations: 1.008 MB / 1.2 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.3243, allocations: 98.89 kB / 1.2 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.3246, allocations: 128.3 kB / 1.2 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.3275, allocations: 2.202 MB / 1.202 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.3275, allocations: 15.86 kB / 1.202 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.3277, allocations: 63.97 kB / 1.202 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/0.3279, allocations: 162.3 kB / 1.203 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.3307, allocations: 1.863 MB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.3421, allocations: 12.44 MB / 1.217 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.3463, allocations: 1.967 MB / 1.219 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.3472, allocations: 0.605 MB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.3474, allocations: 98.09 kB / 1.219 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3475, allocations: 47.5 kB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 4.709e-06/0.3475, allocations: 3.984 kB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.006236/0.3537, allocations: 3.71 MB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3538, allocations: 64.41 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.355, allocations: 0.9242 MB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.355, allocations: 41.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.3555, allocations: 0.7352 MB / 1.225 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.3557, allocations: 382.6 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.3561, allocations: 287.2 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.3562, allocations: 305.1 kB / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008613/0.3571, allocations: 0.609 MB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.3582, allocations: 1.109 MB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.3603, allocations: 1.828 MB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.3604, allocations: 4 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003217/0.3636, allocations: 2.103 MB / 1.231 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.3636, allocations: 15.98 kB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3636, allocations: 12 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/0.3645, allocations: 255.5 kB / 1.231 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.3657, allocations: 371.4 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/0.3737, allocations: 11.59 MB / 1.243 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.375, allocations: 131.7 kB / 1.243 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.3752, allocations: 71.98 kB / 1.243 GB, free: 5.164 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.000764/0.376, allocations: 410.1 kB / 1.244 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.3762, allocations: 130.5 kB / 1.244 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.379, allocations: 1.688 MB / 1.245 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.379, allocations: 12 kB / 1.245 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.379, allocations: 0 / 1.245 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3791, allocations: 7.984 kB / 1.245 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5416/0.9207, allocations: 3.284 MB / 1.249 GB, free: 75.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.9208, allocations: 5.219 kB / 1.249 GB, free: 75.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.9217, allocations: 222.5 kB / 1.249 GB, free: 75.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007424/0.9225, allocations: 246.3 kB / 1.249 GB, free: 75.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.9226, allocations: 29.59 kB / 1.249 GB, free: 75.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006407/0.929, allocations: 11.55 MB / 1.26 GB, free: 65.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.9291, allocations: 8.938 kB / 1.26 GB, free: 65.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.932, allocations: 1.808 MB / 1.262 GB, free: 64.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.9325, allocations: 307.8 kB / 1.262 GB, free: 64.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.9327, allocations: 30.44 kB / 1.262 GB, free: 64.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.9335, allocations: 91.27 kB / 1.263 GB, free: 64.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.9337, allocations: 91.16 kB / 1.263 GB, free: 64.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.701e-05/0.9338, allocations: 38.44 kB / 1.263 GB, free: 64.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009949/0.9348, allocations: 0.6234 MB / 1.263 GB, free: 64.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9348, allocations: 0 / 1.263 GB, free: 64.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001595/0.9364, allocations: 389.5 kB / 1.264 GB, free: 64.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.003251/0.9397, allocations: 2.386 MB / 1.266 GB, free: 63.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004049/0.9438, allocations: 2.5 MB / 1.268 GB, free: 61.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.9438, allocations: 1.094 kB / 1.268 GB, free: 61.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.946, allocations: 1.626 MB / 1.27 GB, free: 60.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.9479, allocations: 359 kB / 1.27 GB, free: 60.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.9671, allocations: 11.48 MB / 1.282 GB, free: 54.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.9687, allocations: 1.326 MB / 1.283 GB, free: 53.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001338/0.97, allocations: 354.5 kB / 1.283 GB, free: 53.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.9707, allocations: 0.5338 MB / 1.284 GB, free: 52.96 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/0.9707, allocations: 0 / 1.284 GB, free: 52.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0985/1.069, allocations: 28.3 MB / 1.311 GB, free: 45.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.63, allocations: 1.438 kB / 1.311 GB, free: 45.93 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches