Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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_L,fileNamePrefix="Buildings_latest_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_latest_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.00758/0.00758, allocations: 98.62 kB / 15.73 MB, free: 6.066 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.001736/0.001736, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.434/2.434, allocations: 469.4 MB / 0.7421 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.723, allocations: 159.1 MB / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007269/0.7303, allocations: 6.089 MB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.735, allocations: 3.149 MB / 1.229 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.7356, allocations: 31.81 kB / 1.229 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.738, allocations: 0.9212 MB / 1.23 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.7391, allocations: 0.4936 MB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.7403, allocations: 478.8 kB / 1.231 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.7415, allocations: 1.1 MB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009042/0.7424, allocations: 0.635 MB / 1.232 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006988/0.7431, allocations: 446.4 kB / 1.233 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/0.7438, allocations: 470.2 kB / 1.233 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.744, allocations: 60 kB / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.7449, allocations: 495 kB / 1.234 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.7453, allocations: 291.2 kB / 1.234 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.7458, allocations: 394 kB / 1.234 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.7473, allocations: 1.186 MB / 1.236 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7473, allocations: 0 / 1.236 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7473, allocations: 0 / 1.236 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.367e-05/0.7474, allocations: 0 / 1.236 GB, free: 2.07 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001919/0.7493, allocations: 1.07 MB / 1.237 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7493, allocations: 12.62 kB / 1.237 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.7495, allocations: 118.7 kB / 1.237 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.7511, allocations: 224.2 kB / 1.237 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.7521, allocations: 0.5848 MB / 1.237 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.7521, allocations: 49.67 kB / 1.238 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.7522, allocations: 64.38 kB / 1.238 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.7536, allocations: 1.034 MB / 1.239 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.7537, allocations: 7.891 kB / 1.239 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.7538, allocations: 31.98 kB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.765e-05/0.7539, allocations: 73.27 kB / 1.239 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.7549, allocations: 0.6957 MB / 1.239 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/0.7598, allocations: 5.73 MB / 1.245 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.7607, allocations: 0.5943 MB / 1.246 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/0.7615, allocations: 432.5 kB / 1.246 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.7616, allocations: 8 kB / 1.246 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.7616, allocations: 34.56 kB / 1.246 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=41): time 2.205e-06/0.7616, allocations: 0 / 1.246 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42): time 0.004241/0.7659, allocations: 2.022 MB / 1.248 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.7659, allocations: 55.41 kB / 1.248 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.7664, allocations: 454.8 kB / 1.248 GB, free: 4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.7664, allocations: 29.7 kB / 1.249 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.7667, allocations: 400.1 kB / 1.249 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.7668, allocations: 162.6 kB / 1.249 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.767, allocations: 118.2 kB / 1.249 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7671, allocations: 366.8 kB / 1.25 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.7675, allocations: 245.1 kB / 1.25 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.7679, allocations: 445.6 kB / 1.25 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009745/0.7689, allocations: 0.7555 MB / 1.251 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7689, allocations: 0 / 1.251 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001833/0.7708, allocations: 1.047 MB / 1.252 GB, free: 236 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.7708, allocations: 8 kB / 1.252 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.7708, allocations: 11.94 kB / 1.252 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000995/0.7718, allocations: 311.3 kB / 1.252 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.7722, allocations: 95.83 kB / 1.252 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006901/0.7791, allocations: 7.479 MB / 1.26 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.7795, allocations: 36.03 kB / 1.26 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.7796, allocations: 24 kB / 1.26 GB, free: 7.703 MB / 0.9825 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.0003583/0.78, allocations: 249.9 kB / 1.26 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7801, allocations: 71.44 kB / 1.26 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.7817, allocations: 0.8925 MB / 1.261 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7817, allocations: 4 kB / 1.261 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.7817, allocations: 4 kB / 1.261 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7818, allocations: 0 / 1.261 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.7843, allocations: 1.678 MB / 1.263 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7843, allocations: 0 / 1.263 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.7845, allocations: 43.91 kB / 1.263 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.7854, allocations: 311.3 kB / 1.263 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.7855, allocations: 8 kB / 1.263 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006557/0.792, allocations: 7.462 MB / 1.27 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7921, allocations: 3.938 kB / 1.27 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.7936, allocations: 0.9959 MB / 1.271 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.7939, allocations: 176.7 kB / 1.271 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/0.794, allocations: 8 kB / 1.271 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.7943, allocations: 39.84 kB / 1.271 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.7944, allocations: 39.89 kB / 1.271 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.7944, allocations: 12 kB / 1.271 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003216/0.7947, allocations: 306.9 kB / 1.272 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7947, allocations: 0 / 1.272 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007443/0.7955, allocations: 192 kB / 1.272 GB, free: 10.48 MB / 0.9981 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.001806/0.7973, allocations: 1.564 MB / 1.273 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.7991, allocations: 1.187 MB / 1.275 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7991, allocations: 4 kB / 1.275 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.8002, allocations: 0.8542 MB / 1.275 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/0.8012, allocations: 207 kB / 1.276 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.8093, allocations: 5.858 MB / 1.281 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.8099, allocations: 0.9921 MB / 1.282 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002685/0.8102, allocations: 97.17 kB / 1.282 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.8104, allocations: 227.4 kB / 1.283 GB, free: 15 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.8104, allocations: 0 / 1.283 GB, free: 15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/0.856, allocations: 15.26 MB / 1.298 GB, free: 15.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/10.35, allocations: 14.05 kB / 1.298 GB, free: 15.96 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches