Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001444/0.001444, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5256, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005923/0.5316, allocations: 6.08 MB / 0.9557 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.5353, allocations: 3.148 MB / 0.9587 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.5356, allocations: 28.44 kB / 0.9588 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.5374, allocations: 0.928 MB / 0.9597 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007372/0.5382, allocations: 466.8 kB / 0.9601 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.539, allocations: 0.4906 MB / 0.9606 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.5399, allocations: 1.092 MB / 0.9617 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/0.5408, allocations: 0.6474 MB / 0.9623 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.5414, allocations: 429.4 kB / 0.9627 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.5419, allocations: 474.6 kB / 0.9632 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.5419, allocations: 61.56 kB / 0.9632 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007827/0.5427, allocations: 492.2 kB / 0.9637 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.543, allocations: 280.4 kB / 0.964 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.5434, allocations: 399.5 kB / 0.9643 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.5445, allocations: 1.166 MB / 0.9655 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5445, allocations: 0.7188 kB / 0.9655 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5445, allocations: 0 / 0.9655 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.5445, allocations: 0 / 0.9655 GB, free: 13.61 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001468/0.546, allocations: 1.053 MB / 0.9665 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.546, allocations: 10.47 kB / 0.9665 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.5462, allocations: 116.1 kB / 0.9666 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.5476, allocations: 213.5 kB / 0.9668 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.5483, allocations: 0.5353 MB / 0.9674 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.5483, allocations: 50.2 kB / 0.9674 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.5484, allocations: 69.55 kB / 0.9675 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.5497, allocations: 1.029 MB / 0.9685 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.5497, allocations: 7.875 kB / 0.9685 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.5498, allocations: 28.2 kB / 0.9685 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.911e-05/0.5499, allocations: 71.2 kB / 0.9686 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000915/0.5508, allocations: 0.6947 MB / 0.9693 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.555, allocations: 5.743 MB / 0.9749 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.5557, allocations: 0.6001 MB / 0.9754 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/0.5565, allocations: 421.8 kB / 0.9758 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.5565, allocations: 7.562 kB / 0.9759 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5565, allocations: 36.94 kB / 0.9759 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 1.703e-06/0.5565, allocations: 0 / 0.9759 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.003995/0.5605, allocations: 2.056 MB / 0.9779 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.5606, allocations: 60.91 kB / 0.978 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.561, allocations: 452.9 kB / 0.9784 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.561, allocations: 32.2 kB / 0.9784 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.5612, allocations: 392.9 kB / 0.9788 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.5614, allocations: 149.8 kB / 0.9789 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.5615, allocations: 115.8 kB / 0.979 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5616, allocations: 364 kB / 0.9794 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.562, allocations: 247.3 kB / 0.9796 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.5624, allocations: 460.4 kB / 0.9801 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.5632, allocations: 0.7511 MB / 0.9808 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5632, allocations: 0 / 0.9808 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001635/0.5648, allocations: 1.061 MB / 0.9818 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5649, allocations: 8 kB / 0.9818 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5649, allocations: 8.875 kB / 0.9819 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.5658, allocations: 331.1 kB / 0.9822 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.5661, allocations: 95.83 kB / 0.9823 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/0.5721, allocations: 7.521 MB / 0.9896 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.5725, allocations: 32.02 kB / 0.9896 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.5725, allocations: 24.28 kB / 0.9897 GB, free: 7.301 MB / 0.7481 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.5728, allocations: 255.4 kB / 0.9899 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.5729, allocations: 55.34 kB / 0.99 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.5744, allocations: 0.9193 MB / 0.9909 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5744, allocations: 4 kB / 0.9909 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5744, allocations: 4.188 kB / 0.9909 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5744, allocations: 7.984 kB / 0.9909 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.5767, allocations: 1.708 MB / 0.9925 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5767, allocations: 0 / 0.9925 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.5769, allocations: 43.97 kB / 0.9926 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008463/0.5777, allocations: 335.3 kB / 0.9929 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.5778, allocations: 8 kB / 0.9929 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005915/0.5837, allocations: 7.489 MB / 1 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5837, allocations: 4.219 kB / 1 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.5852, allocations: 1.023 MB / 1.001 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.5854, allocations: 176.3 kB / 1.001 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.5854, allocations: 15.92 kB / 1.001 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.5857, allocations: 15.98 kB / 1.001 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.5858, allocations: 43.94 kB / 1.001 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.5858, allocations: 12 kB / 1.001 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000262/0.5861, allocations: 302.8 kB / 1.002 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5861, allocations: 4 kB / 1.002 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006363/0.5867, allocations: 200 kB / 1.002 GB, free: 9.953 MB / 0.7637 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.5884, allocations: 1.548 MB / 1.003 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.5901, allocations: 1.254 MB / 1.005 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5901, allocations: 4 kB / 1.005 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5911, allocations: 0.8544 MB / 1.006 GB, free: 6.133 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/0.5921, allocations: 213.9 kB / 1.006 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.5991, allocations: 5.966 MB / 1.012 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.5996, allocations: 0.9882 MB / 1.013 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002761/0.5999, allocations: 97.17 kB / 1.013 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.6001, allocations: 227.4 kB / 1.013 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6001, allocations: 4 kB / 1.013 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.55/4.15, allocations: 15.17 MB / 1.028 GB, free: 15.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/14.2, allocations: 16.02 kB / 1.028 GB, free: 15.34 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches