Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.00108/0.00108, 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.001177/0.001177, allocations: 198.1 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.288/1.288, 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 10.1.0-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5419, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0378/0.5797, allocations: 37.6 MB / 1.053 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.5954, allocations: 10.96 MB / 1.064 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.5978, allocations: 139.2 kB / 1.064 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008791/0.6066, allocations: 4.067 MB / 1.068 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.6112, allocations: 2.092 MB / 1.07 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.6155, allocations: 1.972 MB / 1.072 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.6266, allocations: 13.19 MB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.6423, allocations: 12.44 MB / 1.097 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004782/0.6471, allocations: 3.402 MB / 1.101 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006303/0.6534, allocations: 4.599 MB / 1.105 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.6553, allocations: 0.5586 MB / 1.106 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.6593, allocations: 1.553 MB / 1.107 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003858/0.6632, allocations: 2.884 MB / 1.11 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00579/0.669, allocations: 3.364 MB / 1.113 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.6797, allocations: 12.07 MB / 1.125 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6798, allocations: 0 / 1.125 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6798, allocations: 0 / 1.125 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003046/0.6801, allocations: 0 / 1.125 GB, free: 3.496 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01228/0.6924, allocations: 6.322 MB / 1.131 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6924, allocations: 8.031 kB / 1.131 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001054/0.6935, allocations: 0.8294 MB / 1.132 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/0.6981, allocations: 1.067 MB / 1.133 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/0.703, allocations: 3.415 MB / 1.136 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.7033, allocations: 427.7 kB / 1.137 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007305/0.704, allocations: 0.5471 MB / 1.137 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.7173, allocations: 9.377 MB / 1.147 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.645e-05/0.7174, allocations: 15.88 kB / 1.147 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/0.7179, allocations: 247.9 kB / 1.147 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005039/0.7184, allocations: 422.9 kB / 1.147 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.7286, allocations: 7.123 MB / 1.154 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03696/0.7655, allocations: 41.32 MB / 1.194 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/0.7696, allocations: 3.108 MB / 1.198 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/0.7721, allocations: 2.137 MB / 1.2 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.7723, allocations: 22 kB / 1.2 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.7723, allocations: 64.56 kB / 1.2 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=209): time 3.687e-06/0.7723, allocations: 0 / 1.2 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=212): time 0.0212/0.7935, allocations: 10.55 MB / 1.21 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.7936, allocations: 73.41 kB / 1.21 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.7962, allocations: 2.005 MB / 1.212 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.7964, allocations: 65.7 kB / 1.212 GB, free: 6 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.798, allocations: 2.404 MB / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/0.7987, allocations: 0.7278 MB / 1.215 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007697/0.7995, allocations: 477.2 kB / 1.216 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7996, allocations: 309.1 kB / 1.216 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.8016, allocations: 1.372 MB / 1.217 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.8041, allocations: 2.108 MB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.8083, allocations: 3.758 MB / 1.223 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.8083, allocations: 8 kB / 1.223 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007236/0.8155, allocations: 5.072 MB / 1.228 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.8156, allocations: 12.94 kB / 1.228 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.8156, allocations: 24 kB / 1.228 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/0.819, allocations: 1.575 MB / 1.229 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.8204, allocations: 451.2 kB / 1.23 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/0.84, allocations: 17.07 MB / 1.247 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.842, allocations: 147.9 kB / 1.247 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/0.8424, allocations: 108 kB / 1.247 GB, free: 1.16 MB / 0.9981 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.4151/1.257, allocations: 1.941 MB / 1.249 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006688/1.258, allocations: 284.5 kB / 1.249 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007431/1.266, allocations: 4.448 MB / 1.253 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/1.266, allocations: 28.84 kB / 1.253 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/1.266, allocations: 20.23 kB / 1.253 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/1.266, allocations: 10.58 kB / 1.253 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.282, allocations: 9.667 MB / 1.263 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.282, allocations: 4.594 kB / 1.263 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/1.283, allocations: 233.6 kB / 1.263 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/1.286, allocations: 1.426 MB / 1.264 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.286, allocations: 41.78 kB / 1.264 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/1.303, allocations: 17.06 MB / 1.281 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.303, allocations: 13.88 kB / 1.281 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/1.309, allocations: 4.541 MB / 1.286 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.31, allocations: 0.6364 MB / 1.286 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/1.31, allocations: 38.97 kB / 1.286 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.311, allocations: 118.8 kB / 1.286 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004484/1.312, allocations: 175.4 kB / 1.287 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.312, allocations: 63.7 kB / 1.287 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001478/1.313, allocations: 1.317 MB / 1.288 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.314, allocations: 0 / 1.288 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002516/1.316, allocations: 1.139 MB / 1.289 GB, free: 192.3 MB / 0.9981 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005451/1.321, allocations: 5.17 MB / 1.294 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005411/1.327, allocations: 4.686 MB / 1.299 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.327, allocations: 0 / 1.299 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003444/1.33, allocations: 2.922 MB / 1.301 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/1.334, allocations: 0.8276 MB / 1.302 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03995/1.374, allocations: 35.93 MB / 1.337 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/1.377, allocations: 3.697 MB / 1.341 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001684/1.378, allocations: 0.5519 MB / 1.342 GB, free: 140 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/1.38, allocations: 1.942 MB / 1.343 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.38, allocations: 4 kB / 1.343 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2899/1.67, allocations: 83.71 MB / 1.425 GB, free: 55.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.67, allocations: 245.6 kB / 1.425 GB, free: 55.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/5.146, allocations: 0 / 1.425 GB, free: 55.04 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches