Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_L,fileNamePrefix="Buildings_10_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_10_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.007358/0.007358, allocations: 101.3 kB / 15.73 MB, free: 6.004 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.001914/0.001914, allocations: 187 kB / 16.67 MB, free: 5.922 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.325/1.325, 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.513/2.513, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6427, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007326/0.65, allocations: 6.096 MB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004449/0.6545, allocations: 3.141 MB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.6547, allocations: 31.81 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.657, allocations: 0.9243 MB / 1.176 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008111/0.6578, allocations: 0.4897 MB / 1.177 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.6587, allocations: 497.4 kB / 1.177 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.6597, allocations: 1.088 MB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007776/0.6605, allocations: 0.6387 MB / 1.179 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.661, allocations: 450.4 kB / 1.179 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.6615, allocations: 470.2 kB / 1.18 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.6616, allocations: 60 kB / 1.18 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006717/0.6623, allocations: 483 kB / 1.18 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.6625, allocations: 291.2 kB / 1.18 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.6629, allocations: 398 kB / 1.181 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.664, allocations: 1.186 MB / 1.182 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.664, allocations: 0 / 1.182 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/0.664, allocations: 4 kB / 1.182 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.6641, allocations: 0 / 1.182 GB, free: 3.559 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001479/0.6655, allocations: 1.07 MB / 1.183 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6656, allocations: 12.92 kB / 1.183 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.6657, allocations: 118.7 kB / 1.183 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.6672, allocations: 220.2 kB / 1.183 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.6681, allocations: 0.5926 MB / 1.184 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.6681, allocations: 45.67 kB / 1.184 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6682, allocations: 68.36 kB / 1.184 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.6696, allocations: 1.03 MB / 1.185 GB, free: 200 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.6696, allocations: 7.891 kB / 1.185 GB, free: 192 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.6697, allocations: 35.98 kB / 1.185 GB, free: 156 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-05/0.6697, allocations: 69.2 kB / 1.185 GB, free: 88 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6708, allocations: 0.6918 MB / 1.186 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004786/0.6756, allocations: 5.738 MB / 1.191 GB, free: 9.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/0.6764, allocations: 0.5943 MB / 1.192 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.6772, allocations: 436.5 kB / 1.192 GB, free: 8.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.6772, allocations: 8.688 kB / 1.192 GB, free: 8.152 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.6773, allocations: 34.56 kB / 1.192 GB, free: 8.109 MB / 0.92 GB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.6773, allocations: 0 / 1.192 GB, free: 8.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=42): time 0.004152/0.6814, allocations: 2.023 MB / 1.194 GB, free: 5.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.6815, allocations: 63.41 kB / 1.194 GB, free: 5.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.6819, allocations: 450.8 kB / 1.195 GB, free: 5.469 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.682, allocations: 33.7 kB / 1.195 GB, free: 5.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.6822, allocations: 396.1 kB / 1.195 GB, free: 5.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.6823, allocations: 166.5 kB / 1.195 GB, free: 4.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.6825, allocations: 110.2 kB / 1.196 GB, free: 4.762 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6826, allocations: 362.8 kB / 1.196 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.683, allocations: 241.2 kB / 1.196 GB, free: 4.164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.6835, allocations: 453 kB / 1.197 GB, free: 3.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.6844, allocations: 0.7516 MB / 1.197 GB, free: 2.777 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6844, allocations: 0 / 1.197 GB, free: 2.777 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001784/0.6862, allocations: 1.046 MB / 1.198 GB, free: 1.711 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6862, allocations: 8 kB / 1.198 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6862, allocations: 12.81 kB / 1.198 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009834/0.6872, allocations: 315.2 kB / 1.199 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.6875, allocations: 95.83 kB / 1.199 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006831/0.6943, allocations: 7.492 MB / 1.206 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.6947, allocations: 28.03 kB / 1.206 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.6948, allocations: 24 kB / 1.206 GB, free: 9.172 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 (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.0002641/0.695, allocations: 250.1 kB / 1.206 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.6951, allocations: 63.56 kB / 1.206 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.6968, allocations: 0.8925 MB / 1.207 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6968, allocations: 4 kB / 1.207 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6968, allocations: 4 kB / 1.207 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6968, allocations: 0 / 1.207 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.6994, allocations: 1.674 MB / 1.209 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6994, allocations: 192 / 1.209 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.6996, allocations: 47.91 kB / 1.209 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000884/0.7005, allocations: 311.1 kB / 1.209 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.7005, allocations: 8 kB / 1.209 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006669/0.7072, allocations: 7.46 MB / 1.217 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.7072, allocations: 7.938 kB / 1.217 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.7087, allocations: 0.9996 MB / 1.218 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.709, allocations: 176.7 kB / 1.218 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.7091, allocations: 15.95 kB / 1.218 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.7094, allocations: 23.91 kB / 1.218 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.7095, allocations: 47.89 kB / 1.218 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.7095, allocations: 8 kB / 1.218 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002989/0.7098, allocations: 306.9 kB / 1.218 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7098, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006707/0.7105, allocations: 192 kB / 1.218 GB, free: 11.96 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 (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.001853/0.7124, allocations: 1.544 MB / 1.22 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.7141, allocations: 1.199 MB / 1.221 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7141, allocations: 3.938 kB / 1.221 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.7153, allocations: 0.8503 MB / 1.222 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009415/0.7162, allocations: 197.9 kB / 1.222 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/0.7236, allocations: 5.87 MB / 1.228 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.7242, allocations: 0.9921 MB / 1.229 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.7244, allocations: 97.27 kB / 1.229 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.7247, allocations: 231.3 kB / 1.229 GB, free: 488 kB / 0.9512 GB Notification: Performance of SimCode: time 1.673e-06/0.7247, allocations: 0 / 1.229 GB, free: 488 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.7638, allocations: 15.26 MB / 1.244 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.79/10.55, allocations: 8.016 kB / 1.244 GB, free: 1.434 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches