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.001156/0.00116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001131/0.001131, allocations: 194.9 kB / 16.25 MB, free: 6.641 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.285/2.285, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5044, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005946/0.5104, allocations: 6.091 MB / 0.9552 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003766/0.5142, allocations: 3.128 MB / 0.9582 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.5146, allocations: 28.19 kB / 0.9583 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.5164, allocations: 0.8738 MB / 0.9591 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007368/0.5172, allocations: 435.5 kB / 0.9595 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007526/0.5179, allocations: 439.3 kB / 0.96 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007902/0.5187, allocations: 1.1 MB / 0.961 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008626/0.5196, allocations: 0.7099 MB / 0.9617 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.5201, allocations: 441.8 kB / 0.9622 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.5206, allocations: 0.4895 MB / 0.9626 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.709e-05/0.5206, allocations: 57.47 kB / 0.9627 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006418/0.5213, allocations: 479.9 kB / 0.9631 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.5215, allocations: 289.6 kB / 0.9634 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.5219, allocations: 398.6 kB / 0.9638 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.523, allocations: 1.2 MB / 0.965 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.523, allocations: 0 / 0.965 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.523, allocations: 1.312 kB / 0.965 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.523, allocations: 0 / 0.965 GB, free: 13.62 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.00144/0.5245, allocations: 1.056 MB / 0.966 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5245, allocations: 9.469 kB / 0.966 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.5247, allocations: 116.5 kB / 0.9661 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.5261, allocations: 216.9 kB / 0.9663 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.5268, allocations: 0.5399 MB / 0.9669 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.5268, allocations: 46.52 kB / 0.9669 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.914e-05/0.5269, allocations: 68.83 kB / 0.967 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.5283, allocations: 1.034 MB / 0.968 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.5283, allocations: 7.469 kB / 0.968 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.5284, allocations: 28.92 kB / 0.968 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.481e-05/0.5285, allocations: 74.42 kB / 0.9681 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/0.5295, allocations: 0.6903 MB / 0.9688 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/0.534, allocations: 5.743 MB / 0.9744 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.5348, allocations: 0.5995 MB / 0.975 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.5356, allocations: 426.7 kB / 0.9754 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.5356, allocations: 4.5 kB / 0.9754 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5357, allocations: 43.5 kB / 0.9754 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.5357, allocations: 1.125 kB / 0.9754 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004143/0.5398, allocations: 2.052 MB / 0.9774 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.5399, allocations: 54.94 kB / 0.9775 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.5403, allocations: 458.6 kB / 0.9779 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.5403, allocations: 34.83 kB / 0.9779 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.5406, allocations: 389 kB / 0.9783 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.5407, allocations: 141.6 kB / 0.9784 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.5408, allocations: 117.1 kB / 0.9785 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.541, allocations: 359.4 kB / 0.9789 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.5413, allocations: 243.5 kB / 0.9791 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.5418, allocations: 459.6 kB / 0.9796 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.5427, allocations: 0.757 MB / 0.9803 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5427, allocations: 2.594 kB / 0.9803 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001794/0.5445, allocations: 1.058 MB / 0.9813 GB, free: 80 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5445, allocations: 9.875 kB / 0.9813 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.5445, allocations: 12.09 kB / 0.9814 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.5456, allocations: 331.1 kB / 0.9817 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.5459, allocations: 99.83 kB / 0.9818 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/0.5527, allocations: 7.525 MB / 0.9891 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.553, allocations: 36.02 kB / 0.9892 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.5531, allocations: 24 kB / 0.9892 GB, free: 7.48 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.0002771/0.5533, allocations: 247.5 kB / 0.9894 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.5534, allocations: 59.34 kB / 0.9895 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.5551, allocations: 0.9154 MB / 0.9904 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5551, allocations: 4 kB / 0.9904 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5551, allocations: 4 kB / 0.9904 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5551, allocations: 7.984 kB / 0.9904 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.5577, allocations: 1.7 MB / 0.992 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5577, allocations: 0 / 0.992 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5579, allocations: 43.91 kB / 0.9921 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009426/0.5588, allocations: 327.5 kB / 0.9924 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.5589, allocations: 12 kB / 0.9924 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006679/0.5655, allocations: 7.513 MB / 0.9997 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5656, allocations: 8 kB / 0.9997 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.5671, allocations: 1.015 MB / 1.001 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.5674, allocations: 172.3 kB / 1.001 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.5674, allocations: 15.98 kB / 1.001 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.5677, allocations: 15.98 kB / 1.001 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.5678, allocations: 47.88 kB / 1.001 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.5678, allocations: 12 kB / 1.001 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000282/0.5681, allocations: 306.8 kB / 1.001 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5681, allocations: 0 / 1.001 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006581/0.5688, allocations: 196 kB / 1.001 GB, free: 10.13 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.001843/0.5707, allocations: 1.552 MB / 1.003 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.5724, allocations: 1.246 MB / 1.004 GB, free: 7.227 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5724, allocations: 4 kB / 1.004 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.5736, allocations: 0.866 MB / 1.005 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.5745, allocations: 207.4 kB / 1.005 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.5822, allocations: 6.237 MB / 1.011 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.5827, allocations: 0.9843 MB / 1.012 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000276/0.583, allocations: 105.2 kB / 1.012 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.5832, allocations: 227.4 kB / 1.013 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5832, allocations: 0 / 1.013 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2674/0.8507, allocations: 15.14 MB / 1.027 GB, free: 15.33 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.851, allocations: 236.9 kB / 1.028 GB, free: 15.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.899, allocations: 0 / 1.028 GB, free: 15.07 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