Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0009613/0.0009613, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007458/0.007458, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.122/2.122, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 12 kB / 0.8161 GB, free: 13.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5417, allocations: 142.4 MB / 0.9552 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02865/0.5704, allocations: 32.21 MB / 0.9866 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.5957, allocations: 14.63 MB / 1.001 GB, free: 308 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.5995, allocations: 135.2 kB / 1.001 GB, free: 172 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.6024, allocations: 0.7249 MB / 1.002 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007943/0.6103, allocations: 2.697 MB / 1.004 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.6147, allocations: 1.995 MB / 1.006 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0122/0.6269, allocations: 12.2 MB / 1.018 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0169/0.6438, allocations: 11.52 MB / 1.03 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005542/0.6494, allocations: 2.969 MB / 1.032 GB, free: 15.9 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005902/0.6553, allocations: 3.507 MB / 1.036 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.6567, allocations: 296 kB / 1.036 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.6608, allocations: 1.552 MB / 1.038 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003411/0.6643, allocations: 2.291 MB / 1.04 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004816/0.6691, allocations: 2.796 MB / 1.043 GB, free: 5.422 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.6801, allocations: 10.65 MB / 1.053 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6802, allocations: 0 / 1.053 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6802, allocations: 4 kB / 1.053 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002613/0.6804, allocations: 0 / 1.053 GB, free: 10.73 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.009055/0.6895, allocations: 4.837 MB / 1.058 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6895, allocations: 12.03 kB / 1.058 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001031/0.6906, allocations: 0.7271 MB / 1.058 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/0.6964, allocations: 1.142 MB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/0.7013, allocations: 3.321 MB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.7016, allocations: 382.4 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00071/0.7023, allocations: 495.8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.7133, allocations: 8.005 MB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.7134, allocations: 23.84 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004696/0.7139, allocations: 212 kB / 1.072 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009732/0.7149, allocations: 441.5 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008656/0.7236, allocations: 6.085 MB / 1.078 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.7562, allocations: 35.24 MB / 1.112 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.7587, allocations: 2.022 MB / 1.114 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/0.7611, allocations: 1.854 MB / 1.116 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/0.7612, allocations: 18 kB / 1.116 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.7612, allocations: 64.44 kB / 1.116 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 4.409e-06/0.7612, allocations: 0 / 1.116 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.144/0.9053, allocations: 38.98 MB / 1.154 GB, free: 15.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.9053, allocations: 81.58 kB / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00345/0.9088, allocations: 2.282 MB / 1.157 GB, free: 12.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.9091, allocations: 77.7 kB / 1.157 GB, free: 12.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.9105, allocations: 2.272 MB / 1.159 GB, free: 10.36 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008342/0.9114, allocations: 0.9357 MB / 1.16 GB, free: 9.414 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.9118, allocations: 235.8 kB / 1.16 GB, free: 9.176 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.9119, allocations: 305.1 kB / 1.16 GB, free: 8.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.9148, allocations: 1.977 MB / 1.162 GB, free: 6.895 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.918, allocations: 2.599 MB / 1.165 GB, free: 4.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006358/0.9243, allocations: 4.933 MB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.9244, allocations: 4 kB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01487/0.9393, allocations: 7.757 MB / 1.177 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.9393, allocations: 15.94 kB / 1.177 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.9393, allocations: 23.92 kB / 1.177 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/0.9485, allocations: 3.209 MB / 1.18 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.9502, allocations: 407.2 kB / 1.181 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04186/0.9921, allocations: 31.16 MB / 1.211 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/0.9951, allocations: 163.8 kB / 1.211 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.9954, allocations: 108 kB / 1.212 GB, free: 3.109 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003138/0.9986, allocations: 1.801 MB / 1.213 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006449/0.9992, allocations: 336.1 kB / 1.214 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.013, allocations: 7.356 MB / 1.221 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/1.013, allocations: 31.97 kB / 1.221 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.663e-05/1.013, allocations: 32 kB / 1.221 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/1.013, allocations: 11.95 kB / 1.221 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/1.034, allocations: 12.92 MB / 1.233 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.034, allocations: 12.36 kB / 1.234 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/1.035, allocations: 231.6 kB / 1.234 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007545/1.042, allocations: 2.853 MB / 1.237 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/1.042, allocations: 48 kB / 1.237 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4086/1.451, allocations: 29.97 MB / 1.266 GB, free: 270.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/1.451, allocations: 11.38 kB / 1.266 GB, free: 270.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.462, allocations: 6.885 MB / 1.273 GB, free: 270.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.464, allocations: 0.7866 MB / 1.273 GB, free: 270.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/1.464, allocations: 55.28 kB / 1.273 GB, free: 270.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.466, allocations: 171 kB / 1.274 GB, free: 270.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005984/1.466, allocations: 253.8 kB / 1.274 GB, free: 270 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.466, allocations: 71.53 kB / 1.274 GB, free: 270 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001753/1.468, allocations: 1.529 MB / 1.275 GB, free: 269.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.468, allocations: 3.938 kB / 1.275 GB, free: 269.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003093/1.471, allocations: 1.369 MB / 1.277 GB, free: 269.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01033/1.482, allocations: 7.513 MB / 1.284 GB, free: 265.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00912/1.491, allocations: 6.904 MB / 1.291 GB, free: 262.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.491, allocations: 0 / 1.291 GB, free: 262.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005701/1.497, allocations: 4.43 MB / 1.295 GB, free: 260.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/1.502, allocations: 1.034 MB / 1.296 GB, free: 260.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05081/1.553, allocations: 46.05 MB / 1.341 GB, free: 220.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/1.556, allocations: 3.639 MB / 1.345 GB, free: 216.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001754/1.558, allocations: 0.5556 MB / 1.345 GB, free: 216.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.559, allocations: 1.975 MB / 1.347 GB, free: 214.3 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.559, allocations: 0 / 1.347 GB, free: 214.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.088/3.647, allocations: 107.9 MB / 1.452 GB, free: 107.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/3.647, allocations: 241.3 kB / 1.453 GB, free: 107.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.632/8.28, allocations: 2.969 kB / 1.453 GB, free: 107.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches