Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.004815/0.004815, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001115/0.001115, allocations: 198.7 kB / 16.68 MB, free: 5.926 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.445/2.445, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.84 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7198/0.721, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00738/0.7284, allocations: 6.806 MB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00427/0.7327, allocations: 3.071 MB / 1.217 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.7331, allocations: 27.81 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.7354, allocations: 0.9496 MB / 1.218 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.737, allocations: 0.5128 MB / 1.218 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.7382, allocations: 439 kB / 1.219 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.7397, allocations: 1.232 MB / 1.22 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009892/0.7407, allocations: 0.6644 MB / 1.221 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007271/0.7414, allocations: 474.3 kB / 1.221 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.7421, allocations: 0.5137 MB / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.7422, allocations: 68 kB / 1.222 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.743, allocations: 383.2 kB / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.7433, allocations: 319.1 kB / 1.222 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.7438, allocations: 437.8 kB / 1.223 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.7455, allocations: 1.226 MB / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.7456, allocations: 3.984 kB / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7456, allocations: 0 / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.7456, allocations: 0 / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001792/0.7474, allocations: 1.161 MB / 1.225 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7474, allocations: 8.031 kB / 1.225 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.7476, allocations: 126.7 kB / 1.225 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.749, allocations: 243.5 kB / 1.225 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/0.7499, allocations: 0.6076 MB / 1.226 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.75, allocations: 49.67 kB / 1.226 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.7501, allocations: 64.36 kB / 1.226 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.7514, allocations: 1.081 MB / 1.227 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.7514, allocations: 11.94 kB / 1.227 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.7515, allocations: 27.98 kB / 1.227 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.7516, allocations: 85.25 kB / 1.227 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.7527, allocations: 0.7504 MB / 1.228 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004595/0.7573, allocations: 5.874 MB / 1.234 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.7582, allocations: 0.567 MB / 1.234 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.7586, allocations: 326 kB / 1.235 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.7586, allocations: 8.438 kB / 1.235 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.7587, allocations: 39 kB / 1.235 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/0.7587, allocations: 0 / 1.235 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003786/0.7625, allocations: 1.99 MB / 1.237 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.7625, allocations: 55.84 kB / 1.237 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.7631, allocations: 0.5587 MB / 1.237 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.7631, allocations: 33.7 kB / 1.237 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.7634, allocations: 414.9 kB / 1.238 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.7635, allocations: 173.5 kB / 1.238 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.7637, allocations: 130.5 kB / 1.238 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7638, allocations: 378.7 kB / 1.238 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.7642, allocations: 273.8 kB / 1.239 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.7647, allocations: 493 kB / 1.239 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7657, allocations: 0.8133 MB / 1.24 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7657, allocations: 0 / 1.24 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001639/0.7674, allocations: 1.087 MB / 1.241 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7674, allocations: 11.94 kB / 1.241 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.7674, allocations: 12 kB / 1.241 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008035/0.7682, allocations: 279.7 kB / 1.241 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.7687, allocations: 123.8 kB / 1.241 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/0.7743, allocations: 7.134 MB / 1.248 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.7749, allocations: 35.97 kB / 1.248 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.7749, allocations: 31.98 kB / 1.248 GB, free: 1.828 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003123/0.7753, allocations: 257.6 kB / 1.249 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.7754, allocations: 71.16 kB / 1.249 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.7768, allocations: 0.8847 MB / 1.25 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7768, allocations: 8 kB / 1.25 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7768, allocations: 4 kB / 1.25 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7768, allocations: 0 / 1.25 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.7792, allocations: 1.724 MB / 1.251 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7792, allocations: 7.875 kB / 1.251 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.7796, allocations: 59.89 kB / 1.251 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007883/0.7804, allocations: 271.4 kB / 1.252 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.7805, allocations: 12 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007252/0.7877, allocations: 7.126 MB / 1.259 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7878, allocations: 0 / 1.259 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.7895, allocations: 0.9913 MB / 1.259 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.7899, allocations: 192.2 kB / 1.26 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.79, allocations: 15.88 kB / 1.26 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.7904, allocations: 27.97 kB / 1.26 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.7905, allocations: 39.94 kB / 1.26 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.7906, allocations: 16 kB / 1.26 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00046/0.791, allocations: 391.1 kB / 1.26 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.791, allocations: 0 / 1.26 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009033/0.7919, allocations: 224 kB / 1.26 GB, free: 4.777 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001798/0.7937, allocations: 1.54 MB / 1.262 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.796, allocations: 1.283 MB / 1.263 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.796, allocations: 0 / 1.263 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.7972, allocations: 0.8894 MB / 1.264 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.7982, allocations: 234.2 kB / 1.264 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/0.8072, allocations: 6.38 MB / 1.27 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.8079, allocations: 1.013 MB / 1.271 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003948/0.8083, allocations: 126 kB / 1.272 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.8086, allocations: 247.4 kB / 1.272 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.8086, allocations: 0 / 1.272 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05213/0.8608, allocations: 17.8 MB / 1.289 GB, free: 7.082 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.93, allocations: 18.22 kB / 1.289 GB, free: 7.07 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches