Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.004776/0.004776, allocations: 101.8 kB / 15.73 MB, free: 5.609 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.001252/0.001252, allocations: 193.5 kB / 16.67 MB, free: 5.527 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.617/2.617, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6819, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009128/0.691, allocations: 6.739 MB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005153/0.6962, allocations: 3.04 MB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.6965, allocations: 27.81 kB / 1.176 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.699, allocations: 0.9479 MB / 1.177 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009922/0.7, allocations: 0.4972 MB / 1.177 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.7009, allocations: 428.2 kB / 1.178 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.7022, allocations: 1.228 MB / 1.179 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009111/0.7031, allocations: 0.6609 MB / 1.179 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005355/0.7037, allocations: 478.2 kB / 1.18 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.7044, allocations: 0.5215 MB / 1.18 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.7045, allocations: 64 kB / 1.18 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006519/0.7052, allocations: 379.2 kB / 1.181 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.7055, allocations: 307.1 kB / 1.181 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.706, allocations: 453.7 kB / 1.182 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.7073, allocations: 1.219 MB / 1.183 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7073, allocations: 0 / 1.183 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7073, allocations: 0 / 1.183 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.7073, allocations: 3.984 kB / 1.183 GB, free: 2.75 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001906/0.7093, allocations: 1.179 MB / 1.184 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.7093, allocations: 8.031 kB / 1.184 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.7095, allocations: 122.6 kB / 1.184 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.711, allocations: 240.1 kB / 1.184 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.712, allocations: 0.5965 MB / 1.185 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.712, allocations: 49.67 kB / 1.185 GB, free: 468 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7121, allocations: 68.36 kB / 1.185 GB, free: 400 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.7138, allocations: 1.085 MB / 1.186 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.7138, allocations: 11.89 kB / 1.186 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.7139, allocations: 27.98 kB / 1.186 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.714, allocations: 85.25 kB / 1.186 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.7153, allocations: 0.7543 MB / 1.187 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/0.721, allocations: 5.875 MB / 1.193 GB, free: 8.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.7221, allocations: 0.5555 MB / 1.193 GB, free: 7.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.7226, allocations: 326.6 kB / 1.193 GB, free: 7.133 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.7226, allocations: 4.438 kB / 1.193 GB, free: 7.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.7227, allocations: 42.98 kB / 1.193 GB, free: 7.078 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 1.804e-06/0.7227, allocations: 3.938 kB / 1.193 GB, free: 7.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.004036/0.7267, allocations: 1.991 MB / 1.195 GB, free: 4.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.7268, allocations: 59.84 kB / 1.195 GB, free: 4.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.7274, allocations: 0.5548 MB / 1.196 GB, free: 4.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.7275, allocations: 37.64 kB / 1.196 GB, free: 4.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.7278, allocations: 428 kB / 1.196 GB, free: 3.887 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.728, allocations: 178.5 kB / 1.197 GB, free: 3.711 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.7282, allocations: 130.6 kB / 1.197 GB, free: 3.574 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7284, allocations: 374.7 kB / 1.197 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.7288, allocations: 273.8 kB / 1.197 GB, free: 2.934 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.7295, allocations: 0.4892 MB / 1.198 GB, free: 2.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.7306, allocations: 0.8093 MB / 1.199 GB, free: 1.449 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7306, allocations: 0 / 1.199 GB, free: 1.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001924/0.7326, allocations: 1.084 MB / 1.2 GB, free: 356 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7326, allocations: 16.06 kB / 1.2 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7326, allocations: 11.98 kB / 1.2 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008846/0.7335, allocations: 275.1 kB / 1.2 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.734, allocations: 123.8 kB / 1.2 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007382/0.7414, allocations: 7.159 MB / 1.207 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.7419, allocations: 31.97 kB / 1.207 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.742, allocations: 35.98 kB / 1.207 GB, free: 8.125 MB / 0.9356 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.000325/0.7423, allocations: 257.5 kB / 1.207 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7424, allocations: 71.58 kB / 1.207 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.7441, allocations: 0.8886 MB / 1.208 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.7442, allocations: 4 kB / 1.208 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.7442, allocations: 4 kB / 1.208 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.7442, allocations: 0 / 1.208 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.7469, allocations: 1.724 MB / 1.21 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.7469, allocations: 11.97 kB / 1.21 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.7472, allocations: 63.89 kB / 1.21 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007743/0.748, allocations: 263.1 kB / 1.21 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.7481, allocations: 12 kB / 1.21 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007253/0.7553, allocations: 7.132 MB / 1.217 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.7553, allocations: 7.969 kB / 1.217 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.7569, allocations: 0.98 MB / 1.218 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.7573, allocations: 196.6 kB / 1.218 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.7574, allocations: 11.94 kB / 1.218 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.7577, allocations: 27.97 kB / 1.219 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.7578, allocations: 51.88 kB / 1.219 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.7579, allocations: 16 kB / 1.219 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004619/0.7583, allocations: 379.1 kB / 1.219 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7584, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000737/0.7591, allocations: 228 kB / 1.219 GB, free: 11.08 MB / 0.9512 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001995/0.7611, allocations: 1.544 MB / 1.221 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.7632, allocations: 1.275 MB / 1.222 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7632, allocations: 0 / 1.222 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.7645, allocations: 0.897 MB / 1.223 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.7656, allocations: 221.6 kB / 1.223 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008972/0.7746, allocations: 6.37 MB / 1.229 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.7753, allocations: 1.012 MB / 1.23 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003616/0.7757, allocations: 130 kB / 1.23 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.776, allocations: 243.4 kB / 1.231 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.776, allocations: 0 / 1.231 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06989/0.8459, allocations: 17.38 MB / 1.248 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.56, allocations: 11.86 kB / 1.248 GB, free: 13.74 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_R.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches