Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.001144/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001538, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7378, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03543/0.7733, allocations: 34.53 MB / 0.9828 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.7928, allocations: 11.51 MB / 0.994 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005156/0.7981, allocations: 143.2 kB / 0.9941 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.8082, allocations: 3.987 MB / 0.998 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007139/0.8154, allocations: 1.875 MB / 0.9999 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007049/0.8225, allocations: 2.172 MB / 1.002 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.8365, allocations: 12.41 MB / 1.014 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01848/0.855, allocations: 12.31 MB / 1.026 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006205/0.8612, allocations: 3.184 MB / 1.029 GB, free: 15.72 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00971/0.871, allocations: 4.276 MB / 1.033 GB, free: 11.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002797/0.8738, allocations: 0.5468 MB / 1.034 GB, free: 10.88 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006837/0.8807, allocations: 2.129 MB / 1.036 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005361/0.8861, allocations: 2.822 MB / 1.039 GB, free: 5.922 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00615/0.8923, allocations: 3.131 MB / 1.042 GB, free: 2.777 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.907, allocations: 11.83 MB / 1.053 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.9071, allocations: 0 / 1.053 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9071, allocations: 0 / 1.053 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003706/0.9075, allocations: 4 kB / 1.053 GB, free: 6.906 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0146/0.9221, allocations: 5.783 MB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.9221, allocations: 12.02 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001271/0.9234, allocations: 0.809 MB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.929, allocations: 1.064 MB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006002/0.935, allocations: 3.266 MB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.9353, allocations: 411.5 kB / 1.064 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.9365, allocations: 0.5392 MB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.9553, allocations: 9.075 MB / 1.074 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.9555, allocations: 31.67 kB / 1.074 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005765/0.9561, allocations: 240 kB / 1.074 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003645/0.9564, allocations: 350.8 kB / 1.074 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.9682, allocations: 6.822 MB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04068/1.009, allocations: 40.1 MB / 1.12 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/1.012, allocations: 3.118 MB / 1.123 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/1.014, allocations: 1.958 MB / 1.125 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.015, allocations: 29.97 kB / 1.125 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.015, allocations: 52.5 kB / 1.125 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 2.955e-06/1.015, allocations: 0 / 1.125 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02293/1.038, allocations: 9.97 MB / 1.135 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.038, allocations: 77.41 kB / 1.135 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/1.04, allocations: 1.518 MB / 1.137 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.04, allocations: 65.58 kB / 1.137 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/1.041, allocations: 2.253 MB / 1.139 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/1.042, allocations: 0.6355 MB / 1.139 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/1.042, allocations: 407.9 kB / 1.14 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/1.042, allocations: 305.1 kB / 1.14 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.044, allocations: 1.179 MB / 1.141 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/1.046, allocations: 1.881 MB / 1.143 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/1.05, allocations: 3.375 MB / 1.146 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.05, allocations: 8 kB / 1.146 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007114/1.057, allocations: 4.572 MB / 1.151 GB, free: 13.81 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.057, allocations: 16 kB / 1.151 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/1.057, allocations: 20.91 kB / 1.151 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003647/1.061, allocations: 1.587 MB / 1.153 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.062, allocations: 351.4 kB / 1.153 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/1.082, allocations: 17.02 MB / 1.169 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/1.083, allocations: 115.9 kB / 1.17 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/1.084, allocations: 104 kB / 1.17 GB, free: 10.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003372/1.087, allocations: 1.89 MB / 1.172 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/1.087, allocations: 225.4 kB / 1.172 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006478/1.094, allocations: 4.09 MB / 1.176 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.094, allocations: 20 kB / 1.176 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/1.094, allocations: 16 kB / 1.176 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.094, allocations: 11.95 kB / 1.176 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.108, allocations: 9.481 MB / 1.185 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.108, allocations: 4 kB / 1.185 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/1.109, allocations: 180.5 kB / 1.185 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/1.112, allocations: 1.353 MB / 1.187 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/1.112, allocations: 47.98 kB / 1.187 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/1.131, allocations: 15.93 MB / 1.202 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.131, allocations: 7.938 kB / 1.202 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006132/1.137, allocations: 4.069 MB / 1.206 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/1.138, allocations: 0.5256 MB / 1.207 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.138, allocations: 36 kB / 1.207 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/1.139, allocations: 95.83 kB / 1.207 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.139, allocations: 157.7 kB / 1.207 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.139, allocations: 51.94 kB / 1.207 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001337/1.141, allocations: 1.005 MB / 1.208 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/1.141, allocations: 4 kB / 1.208 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00313/1.144, allocations: 0.9844 MB / 1.209 GB, free: 0.9336 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00659/1.15, allocations: 4.675 MB / 1.213 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006733/1.157, allocations: 4.281 MB / 1.218 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.157, allocations: 0 / 1.218 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003987/1.161, allocations: 2.658 MB / 1.22 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/1.164, allocations: 0.713 MB / 1.221 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04873/1.213, allocations: 30.91 MB / 1.251 GB, free: 3.496 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4132/1.626, allocations: 3.571 MB / 1.255 GB, free: 277.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00151/1.628, allocations: 465.3 kB / 1.255 GB, free: 277.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/1.63, allocations: 1.79 MB / 1.257 GB, free: 277.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.63, allocations: 0 / 1.257 GB, free: 277.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.96/4.59, allocations: 71.05 MB / 1.326 GB, free: 233.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/4.59, allocations: 242.9 kB / 1.326 GB, free: 233.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/7.195, allocations: 3.5 kB / 1.326 GB, free: 233.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches