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.001324/0.001324, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.521/2.521, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5082, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01201/0.5202, allocations: 10.9 MB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.5319, allocations: 8.811 MB / 1.037 GB, free: 14.72 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.5327, allocations: 55.62 kB / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.5366, allocations: 1.668 MB / 1.038 GB, free: 12.99 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.5397, allocations: 1.529 MB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.5411, allocations: 0.6782 MB / 1.041 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.5431, allocations: 2.275 MB / 1.043 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.5446, allocations: 1.383 MB / 1.044 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.5456, allocations: 0.977 MB / 1.045 GB, free: 6.102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.5468, allocations: 1.016 MB / 1.046 GB, free: 5.082 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.547, allocations: 136 kB / 1.046 GB, free: 4.949 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.5482, allocations: 0.8033 MB / 1.047 GB, free: 4.145 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.5486, allocations: 0.5725 MB / 1.048 GB, free: 3.57 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.5494, allocations: 0.8822 MB / 1.048 GB, free: 2.684 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.5515, allocations: 2.535 MB / 1.051 GB, free: 144 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5516, allocations: 0 / 1.051 GB, free: 144 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5516, allocations: 0 / 1.051 GB, free: 144 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.5516, allocations: 0 / 1.051 GB, free: 144 kB / 0.795 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.002885/0.5545, allocations: 2.025 MB / 1.053 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.5545, allocations: 12.03 kB / 1.053 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.5547, allocations: 182.1 kB / 1.053 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.5663, allocations: 2.054 MB / 1.055 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.568, allocations: 1.115 MB / 1.056 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.5681, allocations: 86.69 kB / 1.056 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.5683, allocations: 123.8 kB / 1.056 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/0.5735, allocations: 2.482 MB / 1.059 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.5736, allocations: 7.938 kB / 1.059 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.5738, allocations: 59.92 kB / 1.059 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003527/0.5741, allocations: 130.1 kB / 1.059 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007366/0.5815, allocations: 2.541 MB / 1.061 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.5936, allocations: 10.07 MB / 1.071 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006413/0.6, allocations: 1.956 MB / 1.073 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/0.6028, allocations: 0.9747 MB / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.6029, allocations: 16.42 kB / 1.074 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.6029, allocations: 39 kB / 1.074 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.6029, allocations: 0 / 1.074 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.03198/0.6349, allocations: 8.707 MB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.635, allocations: 68 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.6363, allocations: 1.097 MB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.6364, allocations: 41.7 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.6369, allocations: 0.7379 MB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.6371, allocations: 279.9 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/0.6375, allocations: 194.5 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6376, allocations: 341.9 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.6407, allocations: 1.083 MB / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.6439, allocations: 1.301 MB / 1.088 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006204/0.6501, allocations: 2.386 MB / 1.09 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6501, allocations: 0 / 1.09 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008846/0.659, allocations: 3.276 MB / 1.093 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.659, allocations: 8 kB / 1.093 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.659, allocations: 8 kB / 1.093 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/0.6618, allocations: 0.7994 MB / 1.094 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.6637, allocations: 415.3 kB / 1.094 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.6791, allocations: 15.94 MB / 1.11 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.6812, allocations: 291.5 kB / 1.11 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.6814, allocations: 56.03 kB / 1.11 GB, free: 0.7969 MB / 0.8575 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.000632/0.682, allocations: 393.4 kB / 1.111 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.6823, allocations: 146.2 kB / 1.111 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009033/0.6913, allocations: 3.21 MB / 1.114 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6913, allocations: 8 kB / 1.114 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.6914, allocations: 8 kB / 1.114 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6914, allocations: 3.984 kB / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.7024, allocations: 4.897 MB / 1.119 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.7024, allocations: 7.938 kB / 1.119 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.7041, allocations: 351.4 kB / 1.119 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/0.7064, allocations: 0.7016 MB / 1.12 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.7065, allocations: 31.97 kB / 1.12 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.7211, allocations: 15.54 MB / 1.135 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7211, allocations: 4.031 kB / 1.135 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008133/0.7292, allocations: 3.046 MB / 1.138 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.7298, allocations: 383.2 kB / 1.138 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.7301, allocations: 19.91 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/0.732, allocations: 295.4 kB / 1.139 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.7322, allocations: 80.48 kB / 1.139 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.271e-05/0.7323, allocations: 39.97 kB / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008893/0.7332, allocations: 0.7366 MB / 1.139 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7332, allocations: 4 kB / 1.139 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001282/0.7345, allocations: 428 kB / 1.14 GB, free: 1.082 MB / 0.8887 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.008415/0.7429, allocations: 3.62 MB / 1.143 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008728/0.7516, allocations: 3.75 MB / 1.147 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.7517, allocations: 0 / 1.147 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004921/0.7566, allocations: 2.375 MB / 1.149 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.7586, allocations: 0.5262 MB / 1.15 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/0.7916, allocations: 16.55 MB / 1.166 GB, free: 5.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000977/0.7926, allocations: 1.391 MB / 1.167 GB, free: 3.891 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001439/0.794, allocations: 379.9 kB / 1.168 GB, free: 3.516 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/0.7948, allocations: 0.5969 MB / 1.168 GB, free: 2.918 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.7948, allocations: 0 / 1.168 GB, free: 2.918 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07717/0.872, allocations: 41.22 MB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.34/10.21, allocations: 19.7 kB / 1.209 GB, free: 10.25 MB / 0.9669 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