Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_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.004344/0.004344, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001072/0.001072, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.84 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6427, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01255/0.6553, allocations: 10.91 MB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.6675, allocations: 8.803 MB / 1.185 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009056/0.6684, allocations: 55.69 kB / 1.185 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.6726, allocations: 1.676 MB / 1.187 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.6759, allocations: 1.53 MB / 1.189 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.6773, allocations: 0.6718 MB / 1.189 GB, free: 12.03 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.6793, allocations: 2.283 MB / 1.191 GB, free: 9.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.6809, allocations: 1.383 MB / 1.193 GB, free: 8.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.6819, allocations: 0.9848 MB / 1.194 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.6831, allocations: 1.019 MB / 1.195 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.6833, allocations: 140 kB / 1.195 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.6844, allocations: 0.7955 MB / 1.196 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004715/0.6849, allocations: 0.5686 MB / 1.196 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.6857, allocations: 0.8862 MB / 1.197 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.6879, allocations: 2.562 MB / 1.2 GB, free: 1.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6879, allocations: 4 kB / 1.2 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6879, allocations: 0 / 1.2 GB, free: 1.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.688, allocations: 0 / 1.2 GB, free: 1.336 MB / 0.92 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.003001/0.691, allocations: 2.022 MB / 1.202 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.691, allocations: 8.625 kB / 1.202 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002196/0.6912, allocations: 190 kB / 1.202 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.7032, allocations: 2.058 MB / 1.204 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.7054, allocations: 1.208 MB / 1.205 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.7054, allocations: 86.69 kB / 1.205 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.7057, allocations: 115.9 kB / 1.205 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005453/0.7111, allocations: 2.486 MB / 1.208 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.7112, allocations: 11.84 kB / 1.208 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.7114, allocations: 51.98 kB / 1.208 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003698/0.7117, allocations: 126.1 kB / 1.208 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007782/0.7195, allocations: 2.545 MB / 1.21 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.7321, allocations: 10.02 MB / 1.22 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/0.7389, allocations: 1.965 MB / 1.222 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/0.7419, allocations: 0.966 MB / 1.223 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.7419, allocations: 16.42 kB / 1.223 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.742, allocations: 39 kB / 1.223 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.742, allocations: 0 / 1.223 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03274/0.7747, allocations: 8.711 MB / 1.231 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7748, allocations: 67.94 kB / 1.232 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.7761, allocations: 1.101 MB / 1.233 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7762, allocations: 41.7 kB / 1.233 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.7767, allocations: 0.7302 MB / 1.233 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.7769, allocations: 283.9 kB / 1.234 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.7773, allocations: 202.4 kB / 1.234 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7774, allocations: 345.9 kB / 1.234 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.7806, allocations: 1.067 MB / 1.235 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003307/0.7839, allocations: 1.309 MB / 1.236 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006438/0.7904, allocations: 2.382 MB / 1.239 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7904, allocations: 0 / 1.239 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009301/0.7997, allocations: 3.273 MB / 1.242 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7997, allocations: 12.16 kB / 1.242 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7998, allocations: 7.984 kB / 1.242 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/0.8026, allocations: 0.795 MB / 1.243 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.8047, allocations: 419.2 kB / 1.243 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.8202, allocations: 15.92 MB / 1.259 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.8224, allocations: 283.5 kB / 1.259 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.8225, allocations: 59.95 kB / 1.259 GB, free: 1.98 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 (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.0006105/0.8232, allocations: 405.5 kB / 1.259 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.8234, allocations: 142.3 kB / 1.26 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009376/0.8328, allocations: 3.195 MB / 1.263 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.8328, allocations: 11.98 kB / 1.263 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.8328, allocations: 12 kB / 1.263 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8329, allocations: 3.984 kB / 1.263 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.8443, allocations: 4.897 MB / 1.268 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.8443, allocations: 11.94 kB / 1.268 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.8461, allocations: 355.3 kB / 1.268 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.8485, allocations: 0.7055 MB / 1.269 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/0.8486, allocations: 31.97 kB / 1.269 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.8631, allocations: 15.52 MB / 1.284 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8632, allocations: 4 kB / 1.284 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008423/0.8716, allocations: 3.047 MB / 1.287 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/0.8723, allocations: 383.2 kB / 1.287 GB, free: 3.855 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.8725, allocations: 20 kB / 1.287 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.8745, allocations: 291.4 kB / 1.287 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.8747, allocations: 80.48 kB / 1.287 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/0.8748, allocations: 39.97 kB / 1.287 GB, free: 3.434 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008993/0.8757, allocations: 0.7366 MB / 1.288 GB, free: 2.695 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8757, allocations: 0 / 1.288 GB, free: 2.695 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001244/0.877, allocations: 432 kB / 1.289 GB, free: 2.273 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.008756/0.8857, allocations: 3.621 MB / 1.292 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008669/0.8944, allocations: 3.629 MB / 1.296 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8944, allocations: 0 / 1.296 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005115/0.8995, allocations: 2.368 MB / 1.298 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.9016, allocations: 0.5208 MB / 1.299 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/0.9364, allocations: 15.8 MB / 1.314 GB, free: 7.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.9374, allocations: 1.392 MB / 1.315 GB, free: 6.203 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001303/0.9387, allocations: 383.8 kB / 1.316 GB, free: 5.824 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008327/0.9396, allocations: 0.6008 MB / 1.316 GB, free: 5.223 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.9396, allocations: 0 / 1.316 GB, free: 5.223 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07619/1.016, allocations: 41.52 MB / 1.357 GB, free: 12.21 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.49, allocations: 13.73 kB / 1.357 GB, free: 12.21 MB / 1.092 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches