Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.009252/0.009253, allocations: 101 kB / 15.73 MB, free: 6.043 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.001729/0.001729, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.598/2.598, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 67.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3015, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0307/0.3323, allocations: 26.66 MB / 1.192 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.3469, allocations: 8.067 MB / 1.2 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.3497, allocations: 119.4 kB / 1.2 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.007331/0.3571, allocations: 2.765 MB / 1.203 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.3621, allocations: 1.656 MB / 1.205 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.367, allocations: 1.683 MB / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008068/0.3751, allocations: 6.169 MB / 1.212 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009783/0.385, allocations: 7.307 MB / 1.219 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.3898, allocations: 2.617 MB / 1.222 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/0.3948, allocations: 2.827 MB / 1.225 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001959/0.3968, allocations: 0.5078 MB / 1.225 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.4009, allocations: 1.291 MB / 1.226 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00347/0.4044, allocations: 2.05 MB / 1.228 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006182/0.4106, allocations: 2.381 MB / 1.231 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.4221, allocations: 8.055 MB / 1.239 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.4221, allocations: 0 / 1.239 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4221, allocations: 3.938 kB / 1.239 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003204/0.4224, allocations: 0 / 1.239 GB, free: 12.88 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0146/0.4371, allocations: 4.236 MB / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.4371, allocations: 12.03 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002038/0.4392, allocations: 0.5382 MB / 1.243 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.4446, allocations: 0.7962 MB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006396/0.451, allocations: 2.58 MB / 1.247 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/0.4515, allocations: 267.7 kB / 1.247 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002515/0.454, allocations: 380.4 kB / 1.247 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6695/1.124, allocations: 5.987 MB / 1.253 GB, free: 72.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003321/1.124, allocations: 18.88 kB / 1.253 GB, free: 72.97 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/1.125, allocations: 159 kB / 1.253 GB, free: 72.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001057/1.126, allocations: 284.7 kB / 1.253 GB, free: 72.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/1.14, allocations: 4.522 MB / 1.258 GB, free: 71.64 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03801/1.178, allocations: 27.46 MB / 1.285 GB, free: 49.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/1.18, allocations: 1.114 MB / 1.286 GB, free: 48.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/1.182, allocations: 1.017 MB / 1.287 GB, free: 48.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/1.182, allocations: 12.09 kB / 1.287 GB, free: 48.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.182, allocations: 45.22 kB / 1.287 GB, free: 48.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.567e-06/1.182, allocations: 0 / 1.287 GB, free: 48.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.02563/1.208, allocations: 9.665 MB / 1.296 GB, free: 44.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.208, allocations: 64.91 kB / 1.296 GB, free: 44.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/1.211, allocations: 1.496 MB / 1.298 GB, free: 43.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/1.211, allocations: 51.42 kB / 1.298 GB, free: 43.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.213, allocations: 1.667 MB / 1.299 GB, free: 42.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/1.213, allocations: 468.5 kB / 1.3 GB, free: 41.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008044/1.214, allocations: 333.9 kB / 1.3 GB, free: 41.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/1.214, allocations: 305.1 kB / 1.301 GB, free: 41.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/1.216, allocations: 0.9164 MB / 1.301 GB, free: 41.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/1.217, allocations: 1.464 MB / 1.303 GB, free: 40.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/1.221, allocations: 2.546 MB / 1.305 GB, free: 38.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.66e-05/1.221, allocations: 8.969 kB / 1.305 GB, free: 38.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007431/1.229, allocations: 3.284 MB / 1.309 GB, free: 37.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/1.229, allocations: 15.7 kB / 1.309 GB, free: 37.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/1.229, allocations: 16.41 kB / 1.309 GB, free: 37.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/1.231, allocations: 0.7431 MB / 1.309 GB, free: 36.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/1.233, allocations: 384.5 kB / 1.31 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/1.247, allocations: 17.05 MB / 1.326 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.249, allocations: 97.36 kB / 1.326 GB, free: 22.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/1.249, allocations: 80.12 kB / 1.327 GB, free: 22.06 MB / 0.9981 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002461/1.252, allocations: 1.309 MB / 1.328 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.252, allocations: 203.1 kB / 1.328 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005234/1.258, allocations: 2.788 MB / 1.331 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/1.258, allocations: 13.34 kB / 1.331 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/1.258, allocations: 7 kB / 1.331 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/1.258, allocations: 11.91 kB / 1.331 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.269, allocations: 6.207 MB / 1.337 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.269, allocations: 5.781 kB / 1.337 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.27, allocations: 237.1 kB / 1.337 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/1.272, allocations: 0.6754 MB / 1.338 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.272, allocations: 33 kB / 1.338 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/1.285, allocations: 16.78 MB / 1.354 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.285, allocations: 7.875 kB / 1.354 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007254/1.292, allocations: 4.002 MB / 1.358 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.293, allocations: 451.3 kB / 1.358 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005381/1.294, allocations: 47.02 kB / 1.358 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.295, allocations: 86.02 kB / 1.359 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/1.296, allocations: 109.9 kB / 1.359 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.296, allocations: 41.81 kB / 1.359 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0017/1.298, allocations: 1.003 MB / 1.36 GB, free: 12.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.01e-07/1.298, allocations: 0 / 1.36 GB, free: 12.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003297/1.301, allocations: 0.6857 MB / 1.36 GB, free: 12.43 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006577/1.308, allocations: 4.594 MB / 1.365 GB, free: 8.648 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005573/1.313, allocations: 3.524 MB / 1.368 GB, free: 5.016 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.313, allocations: 0 / 1.368 GB, free: 5.016 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003282/1.316, allocations: 2.29 MB / 1.371 GB, free: 2.609 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.32, allocations: 0.6805 MB / 1.371 GB, free: 1.965 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03967/1.36, allocations: 21.14 MB / 1.392 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004332/1.364, allocations: 2.66 MB / 1.394 GB, free: 9.293 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0019/1.366, allocations: 489.3 kB / 1.395 GB, free: 8.812 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.368, allocations: 1.28 MB / 1.396 GB, free: 7.531 MB / 1.045 GB Notification: Performance of SimCode: time 1.473e-06/1.368, allocations: 4 kB / 1.396 GB, free: 7.527 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.486, allocations: 57.22 MB / 1.452 GB, free: 15.05 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/14.35, allocations: 11.12 kB / 1.452 GB, free: 15.04 MB / 1.107 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches