Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001328/0.001328, allocations: 194 kB / 16.14 MB, free: 6.711 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.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.083/2.083, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 71.88 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5376, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008715/0.5464, allocations: 10.06 MB / 0.9589 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004521/0.5509, allocations: 3.175 MB / 0.962 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004359/0.5514, allocations: 28.38 kB / 0.962 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.5527, allocations: 0.5319 MB / 0.9625 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.5539, allocations: 0.7114 MB / 0.9632 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.5552, allocations: 0.6707 MB / 0.9639 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.559, allocations: 4.487 MB / 0.9683 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003478/0.5625, allocations: 2.857 MB / 0.9711 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.564, allocations: 1.056 MB / 0.9721 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.566, allocations: 1.614 MB / 0.9737 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.5662, allocations: 163.3 kB / 0.9738 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.5673, allocations: 0.5012 MB / 0.9743 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009154/0.5682, allocations: 1.002 MB / 0.9753 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.5692, allocations: 1.03 MB / 0.9763 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.572, allocations: 3.622 MB / 0.9798 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5721, allocations: 0 / 0.9798 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5721, allocations: 0 / 0.9798 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.5721, allocations: 0 / 0.9798 GB, free: 2.508 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003386/0.5755, allocations: 2.15 MB / 0.9819 GB, free: 308 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5755, allocations: 8.031 kB / 0.9819 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/0.5759, allocations: 265.2 kB / 0.9822 GB, free: 24 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007919/0.5838, allocations: 1.306 MB / 0.9835 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.5858, allocations: 1.251 MB / 0.9847 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/0.5859, allocations: 119.3 kB / 0.9848 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.5861, allocations: 148.3 kB / 0.9849 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/0.5908, allocations: 3.433 MB / 0.9883 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.5908, allocations: 7.875 kB / 0.9883 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.591, allocations: 71.95 kB / 0.9884 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/0.5913, allocations: 199.1 kB / 0.9886 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004699/0.596, allocations: 3.128 MB / 0.9916 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.6108, allocations: 13.62 MB / 1.005 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.613, allocations: 1.729 MB / 1.007 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.6148, allocations: 1.444 MB / 1.008 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.689e-05/0.6149, allocations: 12.98 kB / 1.008 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6149, allocations: 43.56 kB / 1.008 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 2.224e-06/0.6149, allocations: 0 / 1.008 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1247/0.7396, allocations: 36.67 MB / 1.044 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.7397, allocations: 73.34 kB / 1.044 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.7409, allocations: 1.057 MB / 1.045 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.7411, allocations: 53.7 kB / 1.045 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.7415, allocations: 0.7835 MB / 1.046 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000481/0.742, allocations: 0.6277 MB / 1.046 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007156/0.7427, allocations: 363.3 kB / 1.047 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.7428, allocations: 305.1 kB / 1.047 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.7452, allocations: 1.928 MB / 1.049 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/0.7479, allocations: 2.281 MB / 1.051 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005184/0.7531, allocations: 4.401 MB / 1.055 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.7531, allocations: 7.938 kB / 1.055 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01793/0.7711, allocations: 9.011 MB / 1.064 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.7711, allocations: 12 kB / 1.064 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.7711, allocations: 8.656 kB / 1.064 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01581/0.7869, allocations: 4.977 MB / 1.069 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.7877, allocations: 195.7 kB / 1.069 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04745/0.8352, allocations: 35.28 MB / 1.104 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.8367, allocations: 95.89 kB / 1.104 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.8369, allocations: 68 kB / 1.104 GB, free: 1.211 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * 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: 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00111/0.838, allocations: 0.8173 MB / 1.105 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.8383, allocations: 138.3 kB / 1.105 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/0.859, allocations: 8.886 MB / 1.114 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.8591, allocations: 16 kB / 1.114 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.568e-05/0.8591, allocations: 31.98 kB / 1.114 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/0.8592, allocations: 7.969 kB / 1.114 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/0.8841, allocations: 13.31 MB / 1.127 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.8841, allocations: 4 kB / 1.127 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.8846, allocations: 123.8 kB / 1.127 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01548/0.9001, allocations: 4.753 MB / 1.131 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/0.9004, allocations: 36 kB / 1.131 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04428/0.9446, allocations: 31.58 MB / 1.162 GB, free: 4.738 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9447, allocations: 9.031 kB / 1.162 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/0.9618, allocations: 8.392 MB / 1.17 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.9628, allocations: 0.6202 MB / 1.171 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.9632, allocations: 39.98 kB / 1.171 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.9643, allocations: 87.89 kB / 1.171 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006958/0.965, allocations: 161.7 kB / 1.171 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.9651, allocations: 44 kB / 1.171 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008619/0.966, allocations: 0.746 MB / 1.172 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.966, allocations: 3.938 kB / 1.172 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002542/0.9685, allocations: 1.004 MB / 1.173 GB, free: 9.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01688/0.9854, allocations: 8.995 MB / 1.182 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008662/0.9941, allocations: 5.845 MB / 1.188 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.9941, allocations: 4 kB / 1.188 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00646/1.001, allocations: 3.837 MB / 1.191 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/1.002, allocations: 243.1 kB / 1.192 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05442/1.056, allocations: 32.47 MB / 1.223 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/1.058, allocations: 1.863 MB / 1.225 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007905/1.059, allocations: 351.4 kB / 1.225 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/1.059, allocations: 0.6047 MB / 1.226 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/1.059, allocations: 0 / 1.226 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.529/4.589, allocations: 72.72 MB / 1.297 GB, free: 274.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/4.589, allocations: 264.7 kB / 1.297 GB, free: 274.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/7.148, allocations: 0.6562 kB / 1.297 GB, free: 274.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches