Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_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_10_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.001175/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 195.4 kB / 16.14 MB, free: 6.648 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.551 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.399/2.399, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.89 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5046, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006977/0.5116, allocations: 6.102 MB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.516, allocations: 3.164 MB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.5165, allocations: 31.75 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.5185, allocations: 0.8771 MB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.5196, allocations: 438 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.5205, allocations: 439 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.5219, allocations: 1.467 MB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008699/0.5227, allocations: 0.6268 MB / 1.03 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.5233, allocations: 390.3 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.5239, allocations: 482.2 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.524, allocations: 44 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.5249, allocations: 0.5847 MB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.5252, allocations: 271.2 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.5256, allocations: 378 kB / 1.032 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.5268, allocations: 1.18 MB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5268, allocations: 0 / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5268, allocations: 0 / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.5268, allocations: 4 kB / 1.033 GB, free: 2.34 MB / 0.7794 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.001568/0.5284, allocations: 1.052 MB / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5285, allocations: 12.03 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.5286, allocations: 114.7 kB / 1.034 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.53, allocations: 223.7 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.5307, allocations: 0.5259 MB / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.5308, allocations: 45.69 kB / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/0.5309, allocations: 72.2 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.5321, allocations: 1.03 MB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.5322, allocations: 11.94 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.5322, allocations: 31.98 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.02e-05/0.5323, allocations: 65.27 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009112/0.5332, allocations: 0.6918 MB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.5373, allocations: 5.756 MB / 1.042 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.5381, allocations: 0.5997 MB / 1.043 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.5388, allocations: 424.5 kB / 1.043 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.5388, allocations: 4 kB / 1.043 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.5388, allocations: 34.56 kB / 1.043 GB, free: 6.973 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 1.844e-06/0.5388, allocations: 0 / 1.043 GB, free: 6.973 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.003847/0.5427, allocations: 2.061 MB / 1.045 GB, free: 4.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.5427, allocations: 59.41 kB / 1.045 GB, free: 4.746 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.5431, allocations: 450.8 kB / 1.046 GB, free: 4.293 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.5432, allocations: 33.7 kB / 1.046 GB, free: 4.254 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.5434, allocations: 387 kB / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.5435, allocations: 145.9 kB / 1.046 GB, free: 3.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.5436, allocations: 114.2 kB / 1.046 GB, free: 3.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5438, allocations: 370.7 kB / 1.047 GB, free: 3.238 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.5441, allocations: 249.2 kB / 1.047 GB, free: 2.996 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.5445, allocations: 449.6 kB / 1.047 GB, free: 2.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007955/0.5453, allocations: 0.7673 MB / 1.048 GB, free: 1.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5453, allocations: 0 / 1.048 GB, free: 1.598 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001666/0.547, allocations: 1.066 MB / 1.049 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.547, allocations: 8 kB / 1.049 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.547, allocations: 8 kB / 1.049 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009676/0.548, allocations: 327.2 kB / 1.049 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.5483, allocations: 91.88 kB / 1.05 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.5541, allocations: 6.95 MB / 1.056 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.5544, allocations: 28.03 kB / 1.056 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.5545, allocations: 28.14 kB / 1.056 GB, free: 8.531 MB / 0.8106 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.0002922/0.5548, allocations: 253.5 kB / 1.057 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.5549, allocations: 63.27 kB / 1.057 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.5564, allocations: 0.9119 MB / 1.058 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5565, allocations: 4 kB / 1.058 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5565, allocations: 4.188 kB / 1.058 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5565, allocations: 7.984 kB / 1.058 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.5588, allocations: 1.712 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5588, allocations: 0 / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.559, allocations: 52.03 kB / 1.059 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008838/0.5599, allocations: 315.1 kB / 1.06 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.5599, allocations: 15.94 kB / 1.06 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.5655, allocations: 6.927 MB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5656, allocations: 4 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.5671, allocations: 1.019 MB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.5673, allocations: 172.4 kB / 1.068 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.5673, allocations: 12 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.5676, allocations: 19.97 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.5677, allocations: 55.81 kB / 1.068 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.5677, allocations: 8 kB / 1.068 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002778/0.568, allocations: 310.8 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.568, allocations: 0 / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006818/0.5687, allocations: 192 kB / 1.068 GB, free: 11.77 MB / 0.8262 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.001716/0.5704, allocations: 1.568 MB / 1.07 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.572, allocations: 1.199 MB / 1.071 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5721, allocations: 4.125 kB / 1.071 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5731, allocations: 0.8658 MB / 1.072 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.574, allocations: 181.8 kB / 1.072 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007087/0.5811, allocations: 6.24 MB / 1.078 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.5815, allocations: 0.992 MB / 1.079 GB, free: 220 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000255/0.5818, allocations: 101.2 kB / 1.079 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.5821, allocations: 223.4 kB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.5821, allocations: 0 / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2661/0.8482, allocations: 14.7 MB / 1.094 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.8483, allocations: 231.5 kB / 1.094 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.728, allocations: 0 / 1.094 GB, free: 1.18 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches