Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.006545/0.006545, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001579/0.001579, allocations: 195.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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.89 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3002, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01345/0.3137, allocations: 10.91 MB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.3267, allocations: 8.798 MB / 1.227 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.3281, allocations: 55.69 kB / 1.227 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.3325, allocations: 1.679 MB / 1.228 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.3369, allocations: 1.532 MB / 1.23 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.3387, allocations: 0.6728 MB / 1.23 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003079/0.3418, allocations: 2.282 MB / 1.233 GB, free: 168 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.3439, allocations: 1.387 MB / 1.234 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.3457, allocations: 0.9965 MB / 1.235 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.3475, allocations: 1.023 MB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003971/0.3479, allocations: 140 kB / 1.236 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.3497, allocations: 0.8033 MB / 1.237 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007236/0.3504, allocations: 0.5648 MB / 1.237 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.3519, allocations: 0.8861 MB / 1.238 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.3555, allocations: 2.566 MB / 1.241 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3555, allocations: 0 / 1.241 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3555, allocations: 0 / 1.241 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.925e-05/0.3556, allocations: 3.938 kB / 1.241 GB, free: 7.742 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004532/0.3601, allocations: 2.018 MB / 1.243 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3602, allocations: 8.625 kB / 1.243 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003893/0.3606, allocations: 190.1 kB / 1.243 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.372, allocations: 2.05 MB / 1.245 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.375, allocations: 1.212 MB / 1.246 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-05/0.3751, allocations: 86.69 kB / 1.246 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.3757, allocations: 123.8 kB / 1.246 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5692/0.9449, allocations: 2.472 MB / 1.249 GB, free: 36.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/0.945, allocations: 7.328 kB / 1.249 GB, free: 36.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.9452, allocations: 53.64 kB / 1.249 GB, free: 36.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004101/0.9456, allocations: 127.6 kB / 1.249 GB, free: 36.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007309/0.9529, allocations: 2.543 MB / 1.251 GB, free: 36.61 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.9656, allocations: 10.01 MB / 1.261 GB, free: 30.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006268/0.972, allocations: 1.951 MB / 1.263 GB, free: 30.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/0.975, allocations: 0.9722 MB / 1.264 GB, free: 30.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.9751, allocations: 5 kB / 1.264 GB, free: 30.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.9751, allocations: 40.27 kB / 1.264 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.9751, allocations: 3.719 kB / 1.264 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.03344/1.009, allocations: 8.73 MB / 1.273 GB, free: 30.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.009, allocations: 64.92 kB / 1.273 GB, free: 29.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/1.011, allocations: 1.095 MB / 1.274 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.011, allocations: 45.58 kB / 1.274 GB, free: 29.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/1.011, allocations: 0.7365 MB / 1.274 GB, free: 29.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/1.011, allocations: 283.8 kB / 1.275 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000425/1.012, allocations: 201.3 kB / 1.275 GB, free: 29.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/1.012, allocations: 344.9 kB / 1.275 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/1.015, allocations: 1.076 MB / 1.276 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/1.019, allocations: 1.305 MB / 1.278 GB, free: 28.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006468/1.025, allocations: 2.377 MB / 1.28 GB, free: 27.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.025, allocations: 6.031 kB / 1.28 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009558/1.035, allocations: 3.28 MB / 1.283 GB, free: 26.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/1.035, allocations: 8.625 kB / 1.283 GB, free: 26.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.035, allocations: 7.078 kB / 1.283 GB, free: 26.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/1.037, allocations: 0.7838 MB / 1.284 GB, free: 26.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.039, allocations: 417 kB / 1.284 GB, free: 26.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.054, allocations: 15.92 MB / 1.3 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/1.056, allocations: 294.4 kB / 1.3 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.056, allocations: 51.81 kB / 1.3 GB, free: 12.89 MB / 0.9981 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008297/1.057, allocations: 397.9 kB / 1.301 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/1.057, allocations: 147.2 kB / 1.301 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009135/1.067, allocations: 3.216 MB / 1.304 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.067, allocations: 10.8 kB / 1.304 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.067, allocations: 7.125 kB / 1.304 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.067, allocations: 3.562 kB / 1.304 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.078, allocations: 4.9 MB / 1.309 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.078, allocations: 2.75 kB / 1.309 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.079, allocations: 352.6 kB / 1.309 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/1.082, allocations: 0.6997 MB / 1.31 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.082, allocations: 35.84 kB / 1.31 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/1.095, allocations: 15.53 MB / 1.325 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.095, allocations: 7.781 kB / 1.325 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008639/1.104, allocations: 3.034 MB / 1.328 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.105, allocations: 382.7 kB / 1.328 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/1.105, allocations: 18.03 kB / 1.328 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.107, allocations: 296 kB / 1.329 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/1.107, allocations: 78.45 kB / 1.329 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.108, allocations: 43.66 kB / 1.329 GB, free: 8.082 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001348/1.109, allocations: 0.7435 MB / 1.329 GB, free: 7.668 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.109, allocations: 4 kB / 1.329 GB, free: 7.664 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002023/1.111, allocations: 429.7 kB / 1.33 GB, free: 7.629 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008811/1.12, allocations: 3.618 MB / 1.333 GB, free: 5.312 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009057/1.129, allocations: 3.633 MB / 1.337 GB, free: 2.988 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.129, allocations: 1.281 kB / 1.337 GB, free: 2.988 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/1.134, allocations: 2.37 MB / 1.339 GB, free: 1.297 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/1.137, allocations: 0.52 MB / 1.34 GB, free: 1.055 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/1.173, allocations: 15.82 MB / 1.355 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.175, allocations: 1.384 MB / 1.356 GB, free: 5.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001441/1.176, allocations: 375.7 kB / 1.357 GB, free: 5.336 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009194/1.177, allocations: 0.6047 MB / 1.357 GB, free: 4.73 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/1.177, allocations: 0 / 1.357 GB, free: 4.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08768/1.265, allocations: 42.36 MB / 1.399 GB, free: 10.95 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.84, allocations: 6.453 kB / 1.399 GB, free: 10.95 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches